<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
      <title>Programming on The Art of Computing </title>
    <link>https://artofcomputing.cecs.anu.edu.au/tags/programming/index.xml</link>
    <language>en-US</language>
    <author>Enthusiastic Hugo User</author>
    <rights>Copyright (c) 2014, Enthusiastic Hugo User; all rights reserved.</rights>
    <updated>Mon, 01 Jan 0001 00:00:00 UTC</updated>
    
    <item>
      <title>A first look at Snap!</title>
      <link>https://artofcomputing.cecs.anu.edu.au/post/first-look-at-snap/</link>
      <pubDate>Thu, 01 Jan 2015 11:13:58 AEDT</pubDate>
      <author>Enthusiastic Hugo User</author>
      <guid>https://artofcomputing.cecs.anu.edu.au/post/first-look-at-snap/</guid>
      <description>&lt;p&gt;&lt;img align=&#39;right&#39; height=100 title=&#39;snap tree&#39; src=&#34;http://bjc.berkeley.edu/bjc-r/img/recur/tree-nobase.png&#34;&gt;&lt;/img&gt;
Snap! is is a visual, drag-and-drop programming language. This post aims to give you a bit of its background, and a few pointers to explore.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Designed in UC Berkeley, Snap! is an extension of the visual programming tool Scratch. It does not need specialized hardware or complicated installation, and will run within any modern browser &amp;ndash; we recommend a recent version of Chrome.&lt;/p&gt;

&lt;p&gt;If you are new to programming, let&amp;rsquo;s take a sneak peek at the programming environment together, and excute a first snap! program:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open the Snap! environment via &lt;a href=&#34;https://artofcomputing.cecs.anu.edu.au/snap/snap.html#open:https://artofcomputing.cecs.anu.edu.au/code/kpart.xml&#34;&gt;this link&lt;/a&gt;, it will automatically load a simple program into the middle gray space. Notice that the &amp;lsquo;program&amp;rsquo; consists of a series of blocks colored differently based on their functions. Press the gree flag on its top, or on the upper right-hand-corner of the your browser window to start the program. (With your computer speaker on!), see/hear what happens .&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Now open &lt;a href=&#34;http://snap.berkeley.edu/snapsource/snap.html#present:Username=jens&amp;amp;ProjectName=Kanon&amp;amp;editMode&amp;amp;noRun&#34;&gt;this link&lt;/a&gt;, excute the program as above. Can you see/hear how this three-part canon is built from the part above?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;p&gt;&lt;/p&gt;
&lt;br/&gt;
If you are an expereinced programmer, you may want to take a look &lt;em&gt;under-the-hood&lt;/em&gt; and see how Snap! is implmented &lt;a href=&#34;https://github.com/jmoenig/Snap--Build-Your-Own-Blocks&#34;&gt;on github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For the even more adventurous, you may want to think about the one or two questions below, and &lt;a href=&#34;http://people.cecs.anu.edu.au/projects/pid/0000001087&#34;&gt;help us improve Snap!&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;How to add a new block, such as interpreting a string of text (e.g. &amp;ldquo;March 21, 2012&amp;rdquo;) as a date?&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;How do you usually make a program run faster? Can we speed up Snap?&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
  </channel>
</rss>