<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>João Ferreira &#187; Opinion</title>
	<atom:link href="http://www.joaoff.com/category/opinion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joaoff.com</link>
	<description>Programming, Algorithms, and Mathematics</description>
	<lastBuildDate>Wed, 09 Jun 2010 10:41:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The programmers of tomorrow</title>
		<link>http://www.joaoff.com/2008/01/22/the-programmers-of-tomorrow/</link>
		<comments>http://www.joaoff.com/2008/01/22/the-programmers-of-tomorrow/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 23:43:00 +0000</pubDate>
		<dc:creator>jff</dc:creator>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[university]]></category>

		<guid isPermaLink="false">http://www.joaoferreira.org/2008/01/22/the-programmers-of-tomorrow/</guid>
		<description><![CDATA[A recent article written by Dr. Robert B.K. Dewar and Dr. Edmond Schonberg (both from AdaCore Inc.) is generating some discussion on the state of Computer Science (CS) education in the United States. In &#8220;Computer Science Education: Where Are the Software Engineers of Tomorrow?&#8220;, Dewar and Schonberg claim that U.S. universities are training unqualified and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stsc.hill.af.mil/CrossTalk/2008/01/0801DewarSchonberg.html" title="Computer Science Education: Where Are the Software Engineers of Tomorrow?">A recent article written by Dr. Robert B.K. Dewar and Dr. Edmond Schonberg</a> (both from AdaCore Inc.) is generating <a href="http://reddit.com/r/programming/info/665i5/comments/" title="Some comments about Dewar and Schonberg article on reddit.com">some</a> discussion on the state of Computer Science (CS) education in the United States. In &#8220;<a href="http://www.stsc.hill.af.mil/CrossTalk/2008/01/0801DewarSchonberg.html" title="Computer Science Education: Where Are the Software Engineers of Tomorrow?">Computer Science Education: Where Are the Software Engineers of Tomorrow?</a>&#8220;, Dewar and Schonberg claim that U.S. universities are training unqualified and easily replaceable programmers. </p>
<blockquote><p>&#8220;It is our view that Computer Science (CS) education is neglecting basic skills, in particular in the areas of programming and formal methods. We consider that the general adoption of Java as a first programming language is in part responsible for this decline. We examine briefly the set of programming skills that should be part of every software professional’s repertoire.&#8221;</p></blockquote>
<p>The comment about Java&#8217;s adoption annoyed some Java aficionados, but <a href="http://itmanagement.earthweb.com/career/article.php/11067_3722876_1" title="Who Killed the Software Engineer? (Hint: It Happened in College)">in a recent interview</a>, Robert Dewar adds that the problem goes far beyond the choice of Java as the first programming language. The real problem is that CS programs are being dumbed down, so that they become more accessible and popular. In result, they &#8220;are not rigorous enough and don&#8217;t promote in-depth thinking and problem solving&#8221;.</p>
<blockquote><p>“A lot of it is, ‘Let’s make this all more fun.’ You know, ‘Math is not fun, let’s reduce math requirements. Algorithms are not fun, let’s get rid of them. <i>Ewww</i> – graphic libraries, they’re <i>fun</i>. Let’s have people mess with libraries. And [forget] all this business about ‘command line’ – we’ll have people use nice visual interfaces where they can point and click and do fancy graphic stuff and have <i>fun</i>.&#8221;</p></blockquote>
<p>Although the paper is concerned with the American reality, I believe we have the same problem in Europe &mdash; at least, and as far as I know, in the UK and in Portugal. However, in my opinion, the problem starts before university. The maths&#8217;s programs in secondary schools are also being simplified (or dumbed down, if you prefer) and many important concepts, like logic and proofs, are being ignored.</p>
<p>In result, first-year students usually have a poor background on maths and problem solving. In fact, most of them have never seen a proof and don&#8217;t even understand the importance of mathematical reasoning. With poor reasoning abilities, they become intellectually less curious, accepting things as they are presented, and they have tremendous difficulties creating new algorithms, or convincing someone that their own algorithms are correct.</p>
<p>Moreover, once they are in the university, one of two things happens:</p>
<ol>
<li>they are not taught explicitly how to solve problems or how to derive algorithms from their formal specifications (this is the most common case);</li>
<li>or they are taught the above skills but their poor background doesn&#8217;t allow them to fully appreciate these subjects.</li>
</ol>
<p><span id="more-27"></span></p>
<h2>What can be done?</h2>
<p>Dewar and Schonberg suggest some skills to be taught:</p>
<blockquote><p>&#8220;Students need to be exposed to the tools to construct large-scale reliable programs, as we discussed at the start of this article. Topics of relevance are studying formal specification methods and formal proof methodologies, as well as gaining an understanding of how high-reliability code is certified in the real world. When you step into a plane, you are putting your life in the hands of software which had better be totally reliable. As a computer scientist, you should have some knowledge of how this level of reliability is achieved. In this day and age, the fear of terrorist cyber attacks have given a new urgency to the building of software that is not only bug free, but is also immune from malicious attack. Such high-security software relies even more extensively on formal methodologies, and our students need to be prepared for this new world.&#8221;</p></blockquote>
<p>I agree with every word in this paragraph! We really need professionals capable of creating certified software that works under all circumstances.</p>
<h3>Joel Spolsky&#8217;s proposal</h3>
<p>Joel Spolky&#8217;s wrote <a href="http://www.joelonsoftware.com/items/2008/01/08.html" title="Undergraduate programming, by Joel Spolsky">an interesting post</a> where he suggests the following:</p>
<blockquote><p>&#8220;I think the solution would be to create a programming-intensive BFA in Software Development&#8211;a Julliard for programmers. Such a program would consist of a practical studio requirement developing significant works of software on teams with very experienced teachers, with a sprinkling of liberal arts classes for balance. It would be a huge magnet to the talented high school kids who love programming, but can&#8217;t get excited about proving theorums.&#8221;</p></blockquote>
<p>Obviously, this is a much more pragmatic and &#8220;hackish&#8221; approach than what Dewar and Schonberg suggest. He also writes:</p>
<blockquote><p>&#8220;When I said BFA, Bachelor of Fine Arts, I meant it: software development is an art, and the existing Computer Science education, where you&#8217;re expected to learn a few things about NP completeness and Quicksort is singularly inadequate to training students how to develop software.&#8221;</p></blockquote>
<p>I think I understand what Joel means when he writes that programming is an art. However, I prefer to call it a science. You see, art is subjective: it exists in your mind. We can both look to the same photograph or painting, and express different interpretations. A program, however, can&#8217;t be seen subjectively. Given a program, we have to be able to say <em>objectively</em> if it is correct (according to some specification) or if it is efficient. It is not a matter of aesthetic principles.</p>
<h3>Other Comments</h3>
<p><a href="http://www.ekinoderm.com/wordpress/?p=27" title="Who did Kill the Software Engineer?">The author of Ekinoderm caught my attention when he wrote the following:</a></p>
<blockquote><p>&#8220;When I got my B.S. (in 2003), I can remember students in my classes constantly grousing about how topics like Scheme or Finite State Automata were “useless” and we should spend our time doing “useful” things like learning how to use VB to make a database app or something. Or, God forbid, writing web apps in PHP.&#8221;</p></blockquote>
<p>Interestingly, I had a very similar experience during my university degree. Many students in my classes didn&#8217;t like functional programming nor formal methods, because, according to them, these skills were useless to get a job; and they also didn&#8217;t like to encode the usual algorithms for trees or graphs in C, because their favourite language (usually Java or VB) already had libraries with the algorithms implemented.</p>
<p>On the contrary, I was interested in functional programming and formal methods. And I think I have benefited quite a lot from studying them. I also learned a lot implementing data structures and algorithms in C. Even so, and after several programming projects at the university, and a job programming Python for a company that offered <a href="http://www.plone.org" title="Plone website">Plone</a> services, I didn&#8217;t feel ready for delivering certified programs (with proofs of correctness included). That was basically the reason why I have embarked in a PhD: I felt the need of programming by construction.</p>
<h2>Final Notes</h2>
<p>In 1975, Edsger Dijkstra wrote a famous note named &#8220;<a href="http://www.cs.utexas.edu/~EWD/transcriptions/EWD04xx/EWD498.html" title="EWD498: How do we tell truths that might hurt?">How do we tell truths that might hurt?</a>&#8220;, where he enumerated some of the unpleasant truths about Computer Science. In the first paragraph, he basically explains why exposing truths (just like Dewar and Schonberg did) gives rise to so much discussion and discordance:</p>
<blockquote><p>&#8220;Sometimes we discover unpleasant truths. Whenever we do so, we are in difficulties: suppressing them is scientifically dishonest, so we must tell them, but telling them, however, will fire back on us. If the truths are sufficiently impalatable, our audience is psychically incapable of accepting them and we will be written off as totally unrealistic, hopelessly idealistic, dangerously revolutionary, foolishly gullible or what have you. (Besides that, telling such truths is a sure way of making oneself unpopular in many circles, and, as such, it is an act that, in general, is not without personal risks. Vide Galileo Galilei&#8230;..)&#8221;</p></blockquote>
<p>What is really amazing is that, 33 years later, some of the most unpleasant truths he enumerated are still true:</p>
<blockquote>
<ul>
<li>Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians.</li>
<li>The easiest machine applications are the technical/scientific computations.</li>
<li>The tools we use have a profound (and devious!) influence on our thinking habits, and, therefore, on our thinking abilities.</li>
<li>The problems of business administration in general and data base management in particular are much too difficult for people that think in IBMerese, compounded with sloppy English.</li>
<li>About the use of language: it is impossible to sharpen a pencil with a blunt axe. It is equally vain to try to do it with ten blunt axes instead.</li>
<li>Besides a mathematical inclination, an exceptionally good mastery of one&#8217;s native tongue is the most vital asset of a competent programmer.</li>
<li>Simplicity is prerequisite for reliability.</li>
<li>By claiming that they can contribute to software engineering, the soft scientists make themselves even more ridiculous. (Not less dangerous, alas!) In spite of its name, software engineering requires (cruelly) hard science for its support.</li>
</ul>
</blockquote>
<p>To conclude the post, allow me to add one to the list:</p>
<blockquote><p>As long as programming is considered a soft science and the formal derivation of algorithms is neglected, there will always be people enumerating unpleasant truths about Computer Science.
</p></blockquote>
<p style="margin-top: 10px;"><strong>Related Articles:</strong></p><ul><li><a href="http://www.joaoff.com/2007/01/15/on-programming-and-mathematical-methodology-part-ii/" rel="bookmark">On Programming and Mathematical Methodology -- Part II</a></li><li><a href="http://www.joaoff.com/2006/12/28/on-programming-and-mathematical-methodology/" rel="bookmark">On Programming and Mathematical Methodology</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.joaoff.com/2008/01/22/the-programmers-of-tomorrow/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
