<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.css?cache=2026-11-13T15:19:59+00:00" type="text/css"?>
<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/"
	>
<html:meta xmlns:html="http://www.w3.org/1999/xhtml" name="viewport" content="width=device-width" />
<channel>
	<title>yearofcode &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/yearofcode/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sun, 09 Feb 2025 23:12:36 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>yearofcode &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Learning to Code vs Learning Computer Science]]></title>
		<link>https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/</link>
					<comments>https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/#comments</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 10:51:17 +0000</pubDate>
		<category><![CDATA[AppsForGood]]></category><category><![CDATA[code]]></category><category><![CDATA[schools]]></category><category><![CDATA[yearofcode]]></category>		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=9837</guid>

		
		<description>It's always very tricky when people who aren't educators start banging on about what should or shouldn't be taught in schools.  My own school days are but a hazy memory of hormones, angst, and boring homework.  Yet here I am, pontificating.  With the current "fad" of encouraging children to learn to code, I thought I would be worth looking at the difference between coding and computer science.  …</description>
			
		<content:encoded>&lt;p&gt;It's always very tricky when people who aren't educators start banging on about what should or shouldn't be taught in schools.  My own school days are but a hazy memory of hormones, angst, and boring homework.  Yet here I am, pontificating.&lt;/p&gt;

&lt;p&gt;With the current "fad" of &lt;a href="https://web.archive.org/web/20140214101526/https://adrianshort.org/2014/02/09/lottie-dexter-quit-year-of-code/"&gt;encouraging children to learn to code&lt;/a&gt;, I thought I would be worth looking at the difference between coding and computer science.
&lt;a href="https://en.wikipedia.org/wiki/File:BBC_micro_assembly_listing.jpg"&gt;&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2014/02/BBC-BASIC-Coding.png" alt=" Creative Commons Attribution-Share Alike 2.0 " width="600" height="250" class="aligncenter size-full wp-image-9841"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id="history"&gt;&lt;a href="https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/#history"&gt;History&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;I learned the infamous Logo Turtle at school and BBC BASIC at home.  &lt;em&gt;That&lt;/em&gt; is learning to code. I followed instructions, copy-typed from books, and made minor adjustments to "personalise" my programs.&lt;/p&gt;

&lt;p&gt;At A-Level I started studying "&lt;a href="https://web.archive.org/web/20140705120429/http://www.examsolutions.net/maths-revision/syllabuses/Edexcel/period-1/D1/module.php"&gt;Decision Mathematics&lt;/a&gt;".  Rather than esoteric calculus, and prosaic formulas, it looks at how to solve problems logically.  It was the perfect primer for learning how to become a programmer and I firmly believe that no conversation about teaching coding in schools is complete without a theoretical understanding of the science behind the code.&lt;/p&gt;

&lt;h2 id="an-example"&gt;&lt;a href="https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/#an-example"&gt;An Example&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This is an exercise I run through with people wanting to understand the basics of computer science:&lt;/p&gt;

&lt;p&gt;Sort the following numbers:&lt;/p&gt;

&lt;pre&gt;7, 8, 1, 3, 2, 7, 6&lt;/pre&gt;

&lt;p&gt;Easy enough to do in your head, no?&lt;/p&gt;

&lt;p&gt;Ok - &lt;em&gt;explain&lt;/em&gt; to me how you did it?&lt;/p&gt;

&lt;p&gt;We then talk through what we think the problem is - in what way do we want the numbers sorted? High to low? Low to high? Alphabetical?  What, in fact, do we want to do with the sorted numbers?&lt;/p&gt;

&lt;p&gt;What series of very simple instructions could we give to an absolute idiot such that they could follow them and get the right answer?&lt;/p&gt;

&lt;p&gt;Where are the "gotchas"?  If two numbers are the same, how should they be sorted?  Does it matter?&lt;/p&gt;

&lt;p&gt;Are there more or less efficient ways to sort numbers?  Are there times when less efficiency is good?&lt;/p&gt;

&lt;p&gt;Hey presto - we've begun to explore Computer &lt;em&gt;Science&lt;/em&gt;.  We can craft algorithms, learn how and why they are important, write out pseudo-code, hunt for bugs.&lt;/p&gt;

&lt;h3 id="learning-to-code"&gt;&lt;a href="https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/#learning-to-code"&gt;Learning To Code&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The above is a great introduction to Computer Science.  Now let's look at what learning to code teaches people.&lt;/p&gt;

&lt;pre lang="php"&gt;sort([7, 8, 1, 3, 2, 7, 6]);
&lt;/pre&gt;

&lt;p&gt;Or, perhaps&lt;/p&gt;

&lt;pre lang="javascript"&gt;var numbers = [7, 8, 1, 3, 2, 7, 6];
numbers.sort();
&lt;/pre&gt;

&lt;p&gt;What has that taught anyone?  Merely syntax.&lt;/p&gt;

&lt;p&gt;I learned the BASIC and Pascal languages at school.  Who uses those now? No one.  Learning to code an iPhone or Android app is great fun - but in 10 years time when those children are adults, the world will have moved on and Objective C will be yet another obsolete language.&lt;/p&gt;

&lt;p&gt;Yes, learning the rudiments of one language can be helpful in picking up another - but it's no substitute for understanding the fundamentals of &lt;em&gt;why&lt;/em&gt; you are doing something.&lt;/p&gt;

&lt;p&gt;That's why I'm a big supporter of the &lt;a href="http://www.appsforgood.org/"&gt;Apps For Good&lt;/a&gt; initiative.  Rather than just teaching kids how to build an Android app, it takes them through the process of design, user research, competitor analysis, testing, monetizing, building a team, and legal / social ramifications of releasing an app.  All of which are vital tools to any would-be programmer.&lt;/p&gt;

&lt;p&gt;It's not just about learning which buttons to press in order to make an app - it's about a deeper understanding.&lt;/p&gt;

&lt;h2 id="if-thou-summers_day-darling_buds-windsrough-shake"&gt;&lt;a href="https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/#if-thou-summers_day-darling_buds-windsrough-shake"&gt;if ($thou &amp;gt;= $summers_day) {$darling_buds.winds($rough, $shake);}&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Let's put it in language the humanities graduates can understand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning to code is merely teaching people to spell.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Computer Science is about what makes a poem beautiful, why alliteration is alluring, how iambic pentameter unlocks the secrets of Shakespeare.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That&lt;/strong&gt; is what I think we need to be teaching.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=9837&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
	

					<wfw:commentRss>https://shkspr.mobi/blog/2014/02/learning-to-code-vs-learning-computer-science/feed/</wfw:commentRss>
			<slash:comments>33</slash:comments>
		
		
			</item>
	</channel>
</rss>
