<div dir="ltr"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Richard, I'll find the code - it's on the wife's Mac.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Games were also a primary incentive for me to learn to code. My Dad, for some unknown reason, decided not to be cheap as usual, but to splurge and get an Apple II+ when all the other kids were getting Comodore 64's.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I typed in the Apple BASIC games from magazines, but they always had some sprites or sounds that required you to enter hex into the 'monitor'. <learned hex>. Then somehow, probably the games had some assembly code, I learned 6502 assembly language. I've never reached those heights of intelligence since, I'm pretty sure.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">The love of games continued to push me to learn C, because the Mac game books were in C, but early mac OS graphics and memcopy routines were in PASCAL, so I learned to call PASCAL libraries from C. So I learned libraries and interfaces and differences between C and Pascal strings.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(Coincidentally my first part time job in college was working in climate research and coding in C, but calling FORTRAN libs from C. Hmmm, like calling PASCAL libs from C but different, etc. etc.)</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Just a story, but it's great to recall how we learned coding when considering how to teach our kids.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Great thread!</font></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Sean<br><br><div>Sean Blanton</div><div><a href="mailto:sean@blanton.com" target="_blank">sean@blanton.com</a></div></div></div>
<br><div class="gmail_quote">On Tue, Sep 13, 2016 at 3:04 PM, Alan Mead <span dir="ltr"><<a href="mailto:amead2@alanmead.org" target="_blank">amead2@alanmead.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Richard,<br>
<br>
FWIW, I second Andy's suggestion that you start with a project that the<br>
kids want to do. I think that's more important than the language,<br>
although the argument for Perl (or Python etc.) is the same for BASIC;<br>
you avoid the need to teach about compilers, etc. I think having<br>
10-year-olds debug linking errors or inheritance issues probably<br>
complicates trying to learn to code.<br>
<br>
I learned to program because I wanted to play games and the only<br>
software I had was the BASIC interpreter built into the OS.  In<br>
contrast, my kids never had much interest in trying to write games<br>
because they have endless software entertainment options (all far better<br>
than they were likely to produce).  One of them showed an interest in<br>
scripting to make cool things happen in Never Winter Nights. My students<br>
who have learned to program were always motivated by a specific project.<br>
<br>
I also second Andy's suggestion that web-based projects are a good fit<br>
for Perl and attractive to kids. I may yet hook my daughter with this<br>
kind of project.<br>
<br>
Another area would be phone/tablet apps. I did a very quick google<br>
search and I don't know how possible it is to use Perl to make apps.<br>
This site, for example, looks dormant:<br>
<a href="https://code.google.com/archive/p/perl-android-apk/" rel="noreferrer" target="_blank">https://code.google.com/<wbr>archive/p/perl-android-apk/</a> .<br>
<br>
Pi projects might also be a good "hook." Most of the published projects<br>
you'll find don't use Perl, but it is present by default on "Raspbian."<br>
<br>
A lot of the "Saturday afternoon 'Learn to code!' classes at the civic<br>
center" use something like Tynker.com. Or Scratch. I'm not very familiar<br>
and certainly visual coding is mainstream for applications, but in<br>
teaching statistics, I notice that my students are scared of syntax<br>
(they're fine so long as something can be accomplished using wizards and<br>
dialogs).  I don't think you're "really" learning to code unless at some<br>
point you have to fire up emacs/vi or the equivalent.<br>
<br>
-Alan<br>
<br>
<br>
--<br>
<br>
Alan D. Mead, Ph.D.<br>
President, Talent Algorithms Inc.<br>
<br>
science + technology = better workers<br>
<br>
+815.588.3846 (Office)<br>
+267.334.4143 (Mobile)<br>
<br>
<a href="http://www.alanmead.org" rel="noreferrer" target="_blank">http://www.alanmead.org</a><br>
<br>
I've... seen things you people wouldn't believe...<br>
functions on fire in a copy of Orion.<br>
I watched C-Sharp glitter in the dark near a programmable gate.<br>
All those moments will be lost in time, like Ruby... on... Rails... Time for Pi.<br>
<br>
          --"The Register" user Alister, applying the famous<br>
            "Blade Runner" speech to software development<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/<wbr>listinfo/chicago-talk</a><br>
</div></div></blockquote></div><br></div>