<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dan Tennery-Spalding on Medium]]></title>
        <description><![CDATA[Stories by Dan Tennery-Spalding on Medium]]></description>
        <link>https://medium.com/@teachrdan?source=rss-2c634d5845d4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mhxEw7PwTRDCgrF_.jpeg</url>
            <title>Stories by Dan Tennery-Spalding on Medium</title>
            <link>https://medium.com/@teachrdan?source=rss-2c634d5845d4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:02:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@teachrdan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Start Thinking Like a Programmer]]></title>
            <link>https://medium.com/@teachrdan/start-thinking-like-a-programmer-361aaa958cfd?source=rss-2c634d5845d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/361aaa958cfd</guid>
            <dc:creator><![CDATA[Dan Tennery-Spalding]]></dc:creator>
            <pubDate>Mon, 28 Jul 2014 17:08:16 GMT</pubDate>
            <atom:updated>2014-07-28T17:08:16.187Z</atom:updated>
            <content:encoded><![CDATA[<h3>Don’t just tinker — think</h3><p>I’ve been learning to program, and it’s hard, because I’m a married man in my 30s, not a teenager living in their parent’s basement eating ramen noodles and staying up all night writing code.</p><p>(<strong>no offense</strong>)</p><p>I do have two big advantages. First is my background in adult education. After 10 years of teaching, including getting an MA, leading professional development workshops and writing a book about how to teach adults, called “<a href="http://www.amazon.com/How-Teach-Adults-Jossey-Bass-Education/dp/1118841360/ref=sr_1_1?ie=UTF8&amp;qid=1405960150&amp;sr=8-1&amp;keywords=amazing+adult+education+book+best+ever">How to Teach Adults</a>”, I have a solid model for how to maximize adult learning — including my own.</p><blockquote>We do not write in order to be understood; we write to understand. —Cecil Day Lewis</blockquote><p>Among the most important tools in any learner’s toolkit is meta-cognition: thinking about thinking. I accomplish this through journaling and reflecting. I journal almost every day in my <a href="https://www.google.com/search?q=hobonichi+planner+book&amp;safe=off&amp;rlz=1C5CHFA_enUS559US559&amp;espv=2&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ei=cqfSU7XdOYb7oASnoYG4Cg&amp;ved=0CAcQ_AUoAg&amp;biw=1440&amp;bih=802">Hobonichi Techo</a>. The process of journaling lets you take a snapshot of your beliefs and experience. <strong>For me,</strong> <strong>it’s like taking the inchoate jumble of impressions in my head and freezing them in clear amber</strong>, <strong>so that I can consider them at a distance, from all different angles.</strong></p><p>Reflecting on these journals helps me identify what I’ve learned and, more importantly, what helps me learn more. And this unfolds over time. I can say that with certainty because I recently learned, though going back over my old journal entries, that <strong>what I thought was one of my best learning tools was actually holding me back</strong>.</p><blockquote>It is better to have a hundred friends than a hundred rubles. — Russian proverb</blockquote><p>My second advantage is my friend Margot. After months of studying <a href="https://angularjs.org/">AngularJS</a> and JavaScript, mostly on my own, we started working on a small quiz app together. Unlike me, Margot has years of experience both programming and project managing. We started the app so that she could learn Angular while I improved my nascent JS and Angular skills.</p><p>She taught me a lot. Here’s a typical conversation from one of our weekly buddy-programming sessions. I try writing a controller to, say, retrieve quiz questions from a JSON file. The following dialog ensues:</p><p>M: “Why are you doing that?”</p><p>D: “Because that’s how you retrieve stuff from JSON.”</p><p>M: <strong>“Yeah, but why does it work?”</strong></p><p>D: “…”</p><p>I’d written the exact same controller before — only time it wouldn’t work. After jumping back and forth between our app and my last one, I saw that our JSON were formatted a bit differently, and so my old code wasn’t retrieving anything.</p><p>Then, after floundering for 25 minutes, I handed over the keyboard to Margot, who used console.log() statements and step-by-step thinking to actually see what was happening to our data, and then analyzed what she saw in order to make our code work.</p><p>She didn’t use any obscure methods or exotic libraries I didn’t know about. <strong>Margot simply made methodical observations and applied logical thinking to them.</strong></p><blockquote>And it blew my freaking mind. — Dan Tennery-Spalding</blockquote><p>Again and again, when facing a novel challenge, I kept trying to cut and paste what I’d done before, or make incremental changes to someone else’s working code until my own code behaved. <strong>What I couldn’t do was think things through like Margot.</strong></p><p>I also couldn’t figure out how something seemingly so simple as thinking things through was so difficult for me to emulate. And I was the one with months of experience tinkering with Angular!</p><p>After two weeks of this abuse I went back over the notes in my Hobonichi. And then I discovered just how often I wrote about my then-favorite technique for learning to code: making small changes to someone else’s code, tweaking one thing at a time until I had bent it to my will.</p><p><strong>I always ended up with working code, so I thought that I was learning <em>how</em> to code.</strong> I certainly did learn some of the mechanics of Angular. But I what I did not learn was how to think like a programmer. <strong>It was only after seeing how much I thought code-tweaking was learning that I was able to start breaking the habit.</strong> As you may be able to see from the hero pic at the top of this story, or from the photo of that whole Hobonichi page below, I literally crossed out my comment,“Make minimal changes to focus on how things work”, and replaced it with “Think about why things work.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*u1RMmU4HLDR2YrtagzpKLg.jpeg" /><figcaption>The actual page of my Hobonichi where I identified my bad habit of “learning” by tinkering with code, in this case for the Angular tutorial app “<a href="https://github.com/angular/angular-phonecat">Phonecat</a>”.</figcaption></figure><p>Margot has taught me a bunch of other things, too, including how learning to code with Angular is pretty stupid, due to the relative complexity of its <a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">MVC architecture</a>, and it’s <a href="https://docs.angularjs.org/api/ng/directive/ngClick">horrible documentation</a> compared to PHP and pretty much everything else in the world.</p><p>But the most important thing I’ve learned is how to think like a programmer. And this brings me right back to my foundation as an adult educator. Learning is learning. <strong>And learning to code isn’t primarily about making things work, but understanding why they work in the first place.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=361aaa958cfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>