<br><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 1:29 PM, Yamaplos . <span dir="ltr"><<a href="mailto:yamaplos@gmail.com">yamaplos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Steve,<br>
<br>
for some reason the link to your blog didn't work for me. JIC others<br>
needed it, here:<br>
<a href="http://mrstevesscience.blogspot.com/2012/02/why-is-programming-unnatural-activity.html" target="_blank">http://mrstevesscience.blogspot.com/2012/02/why-is-programming-unnatural-activity.html</a></blockquote><div>
Thanks for the correction. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Brilliant!<br>
I really appreciate you pointing out these great ideas to the rest of us.<br>
<br>
For many years I have struggled on trying to understand what makes it<br>
so that some people can and others can't. My conclusion is still that<br>
it is clearly a "gifting", part of the uniqueness every living being<br>
is created with. Some are "natural" programmers, others aren't </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The latter being the majority by far, ergo, as a general thing<br>
"programming is unnatural", end of story.<br></blockquote><div>I actually regret using the word "unnatural" and would now switch to "hard" (although I still agree it is "unnatural" or non-universal)</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ideologically this is very inconvenient, of course, since it is quite<br>
unfashionable, nay, *very* inappropriate, political incorrect to point<br>
at differences in potential from conception, but, no longer being<br>
constrained by ideology, I can afford to call it as it is.<br></blockquote><div><div>Well I would be careful in saying "some people can and others can't" and that some are "naturals." I agree and have no problem saying we are not all born or created equal as far as intelligence, size or looks are concerned (I got more than my fair share of good looks, ego and bad eyesight ;)</div>
<div><br></div><div>Yet, I come from the point of view that if kids don't get it it's my fault, not the kids, perhaps not totally realistic, but it pushes me to do better and that really is all I have control over.</div>
<div><br></div><div>Also, I would ask what is it about the way we teach programming and (I think perhaps more importantly) the languages (programming and the words we use and think with) and problems we use to teach, that allows certain kids to "get it" and others not? For example as shown by Etoys and Scratch, parallel programming is actually easier (unless perhaps if you start with the sequential view and get trapped in thinking in that paradigm and are asked to do concurrency with Pthreads)</div>
<div><br></div><div>Another thing that comes to mind is that all my kids can sing, yet neither my wife nor I have would every be asked to sing (more likely we would be asked to stop). Perhaps they got a lucky draw, but I think more likely it is the music exposure we were fortunate enough to be able to give them and the great teachers and programs we found. I think we need different types of programs for teaching "programming" as well, to appeal to more kids and allow them opportunity to be as successful as they are capable of becoming.</div>
</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This still leaves me with trying to figure out who it makes sense to<br>
invest in. And apparently more difficult, how best to "seed" that<br>
process, and overcome "blocks" (in some way what your authors call<br>
"bugs"), some of these set there by the kindness of the official<br>
one-size-fits-all education experts. Your notes and the authors you<br>
point out will help learn and understand how this all happens, thank<br>
you.<br></blockquote><div>Thank you please share what you learn.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Of course, even then we are left with trying to figure out how to beat<br>
socioeconomics, like this kid in a Nepal school I met, that will have<br>
extra struggles to go through to achieve his potential.<br></blockquote><div>Well you could spend time trying to figure out how to "beat socioeconomics" and as my Great Aunt Suslie used to say "I wish you lots of luck," or simply do what you can to leave the world a bit better wherever you are :)</div>
<div><br></div><div>Stephen</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2012/2/29, Steve Thomas <<a href="mailto:sthomas1@gosargon.com">sthomas1@gosargon.com</a>>:<br>
<div class="im">> So I am sharing my blog post Why Is programming an unnatural activity?Hoping<br>
> to get some feedback from the community.<br>
><br>
> For my P2PU course I have been looking at "Novice" programmers. And in one<br>
> of the papers we were asked to read Mark Guzdial asks:<br>
><br>
> “Why?” Is programming an unnatural activity?<br>
><br>
> Could programming be made easier in a different form?<br>
><br>
> Could programming be taught in a different way that makes learning easier?<br>
><br>
> Or maybe we just have no idea how to actually measure what students know<br>
</div>> about programming.* (1).*<br>
<div class="im">><br>
> My main problem with the Guzdial paper (this was more my problem than a<br>
> problem with the paper) is I felt it didn't provide enough details or<br>
> specifics on "Why it is so hard to learn to Program?" I need specifics and<br>
> examples to get my head around things. Roy Pea, was a great find and<br>
> perhaps not surprisingly (for me at least) the Resnick article was very<br>
> useful.<br>
><br>
> Pea (et al) talked about three classes of bugs:<br>
><br>
</div>> 1. Parallelism Bugs<br>
> 2. Intentionality Bugs<br>
> 3. Egocentrism Bugs<br>
><br>
> *Parrallelism Bugs*<br>
<div class="im">> The Parallelism Bugs, is basically an "assumption of different lines in a<br>
> program can be active or known by the computer at the same time or<br>
> in parallel". For example, look at this code:<br>
><br>
><br>
> If (Size == 10)<br>
> print "Hello"<br>
> For Size in range(10):<br>
> print Size<br>
><br>
> When High School students. in their second year of programming course, were<br>
> asked what they thought the program would print 8 out of 15 predicted<br>
> "Hello" would print after "10".<br>
><br>
</div>> *Intentionality Bugs*<br>
<div class="im">> The Intentionality Bugs, is the idea in the child's mind that "the program<br>
> has goals and knows or sees what will happen elsewhere in itself."<br>
><br>
</div>> *Egocentrism Bugs*<br>
<div class="im">> The Egocentrism Bugs, stem from the belief that there "is more of their<br>
> meaning for what they want to accomplish in the program than is actually<br>
> present in the code." Funny, I see these kinds of bugs all the time in my<br>
> code and those of other experience programmers :)<br>
><br>
</div>> *The Super Bug*<br>
<div class="im">> He concludes that all these derive from the Super Bug:<br>
><br>
</div>> <<a href="http://4.bp.blogspot.com/-sQRGOhtVBbM/T03XIvqxgvI/AAAAAAAABBg/itlJA6dtKhU/s1600/SuperBug%0D.png" target="_blank">http://4.bp.blogspot.com/-sQRGOhtVBbM/T03XIvqxgvI/AAAAAAAABBg/itlJA6dtKhU/s1600/SuperBug%0D.png</a>><br>
<div class="im">> The idea that there is a "hidden mind somewhere inside the programming<br>
> language that has intelligent and interpretive powers." Not surprising<br>
> since most of kids experiences are with semi-intelligent beings (aka<br>
> Parents)<br>
><br>
> MultiLogo: A Study of Children and Concurrent Programming - Mitchel<br>
</div>> Resnick<<a href="http://llk.media.mit.edu/papers/MultiLogo.html" target="_blank">http://llk.media.mit.edu/papers/MultiLogo.html</a>><br>
<div class="im">> Resnick, noted that:<br>
><br>
> "This sequential paradigm does not match the way the real world works:<br>
> people and animals act in parallel, objects interact in parallel. As a<br>
> result, many real-world activities can not be modelled in a natural way<br>
> with sequential programming."<br>
><br>
> Thus developed a concurrent or parrallel version of Logo (Multi-Logo), so<br>
> they kids had a language/environment that more closely matched their view<br>
> of the world. Although he did not go "parrallel" enough, and in his<br>
> lessons learned asked "<br>
><br>
</div>> *SideNote*: I used to think and say that Concurrent Programming was really<br>
<div class="im">> really hard. I had plenty of evidence to back this up and had heard and<br>
> read much smarter people than me saying the same thing. Then I encountered<br>
> Etoys (and later Scratch) and started teaching these to kids. And realized<br>
> that Concurrent Programming is actually easier (although you do have the<br>
> added complexity of syntonization issues) . The problem was not the<br>
> topic/idea, it was the language we use to think about it.<br>
><br>
> Resnick noted that "In general, students appropriated the idea of agents<br>
> sending messages to one another quite easily." Too bad we don't teach more<br>
> Smalltalk.<br>
> He identified three types of bugs specific to concurrent programming:<br>
><br>
</div>> 1. Problem Decomposition Bugs<br>
> 2. Synchronization Bugs<br>
> 3. Object Oriented Bugs<br>
><br>
> *Problem Decomposition Bugs*<br>
<div class="im">> "These bugs arise out of students' difficulties decomposing problems into<br>
> actions to be performed concurrently by multiple agents." Here there are<br>
> two types of decomposition:<br>
><br>
</div>> 1. functional decomposition - dividing a problem in to simpler<br>
<div class="im">> sub-problems (what needs to be done)<br>
</div>> 2. agency decomposition - dividing the functional pieces among different<br>
> agents (who does it)<br>
><br>
><br>
> *Synchronization Bugs*<br>
<div class="im">><br>
> "These bugs arise out of students' difficulties coordinating and<br>
> orchestrating the activities of multiple agents."<br>
> These bugs he divides into two type: Unintended Sequentiality and<br>
> Unintended Concurrency. In these cases the student expected Sequetiality<br>
> and got Concurrence (or vice versa).<br>
><br>
> It seems that in designing Multi-Logo to deal with synchronization he<br>
> provided two mechanisms: ask and demand. Where when you "ask" an agent<br>
> something (ex: flash light - for 20 seconds) the request is queued up to<br>
> be executed in the order received. When you "demand" the agent interrupts<br>
> what is going on to perform the request (or it might simply put it at the<br>
> head of the queue, I am not sure). It is interesting, at least to me, that<br>
> Scratch, developed later by Resnick and his team, got rid of the ask and<br>
> demand and went with a "broadcast" "wait" and "do for X seconds" to allow<br>
> for synchronization. I believe this simplifies and avoids a number of<br>
> problems for novice programmers.<br>
><br>
</div>> *Object Oriented Bugs*<br>
<div class="im">> "These bugs arise out of students' confusion among different types of<br>
> "objects" Multi-Logo has multiple types of objects: agents, turtle, and on<br>
> the Lego Interface box (think early NXT) ports and sensors. Part of this<br>
> confusion may have been the overloading of "halt" which for an agent,<br>
> Another quote for Guzial:<br>
><br>
</div>> - " our current programming languages do not allow people to program the<br>
<div class="im">> way that they think about the tasks"<br>
</div>> - Section: "Making tools better by shifting to Visual Programming"<br>
> - "having students build their own visualizations had significant impact<br>
> on those students’ learning."<br>
><br>
><br>
> *Resnick's Lessons Learned*<br>
<div class="im">> "It is a good idea for students to "play agent"--that is, act out what each<br>
> agent is supposed to do. This activity requires a group of students, each<br>
> playing the role of a different agent." I really like this approach with<br>
> novices and often warn students "Step away from the computer and no one<br>
> will get hurt". Having them act out the program and program each other is<br>
> a good way to do this.<br>
> In designing Multi-Logo he realized he did not go far enough<br>
> in parallelism: "An alternate approach, of course, is to change the design<br>
> of MultiLogo to match students' preconceptions. For example, I could<br>
> redesign MultiLogo agents so that each agent could do several things at the<br>
> same time, in line with students' expectations of "excessive parallelism."<br>
> He later did have agents that can do several things at the same time.<br>
> He also discussed the idea of design the environment match the students<br>
> pre-conceptions. Would be interesting to find out what problems it solves<br>
> (and those it doesn't) and what new problems it creates.<br>
><br>
><br>
</div>> FInally, for a real treat* *at some possibilities for a new programming<br>
> environment see this:<br>
><br>
> Bret Victor - Inventing on Principle <<a href="http://vimeo.com/36579366" target="_blank">http://vimeo.com/36579366</a>> from<br>
> CUSEC<<a href="http://vimeo.com/cusec" target="_blank">http://vimeo.com/cusec</a>><br>
> on Vimeo <<a href="http://vimeo.com/" target="_blank">http://vimeo.com/</a>>.<br>
<div class="im">><br>
> References:<br>
> NOTE: If you have limited time, I would recommend reading (2) then (5),<br>
> then for a real treat watch the Brett Victor talk (7)<br>
> (1) Why Is It So Hard to Learn to Program - Mark Guzdial<br>
> (2) Children's Mental Models of Recursive LOGO Programs - D. Midian Kurland<br>
> and Roy D. Pea<br>
</div>> (1985)<<a href="http://www.stanford.edu/~roypea/RoyPDF%20folder/A27_Kurland_Pea_85.pdf" target="_blank">http://www.stanford.edu/~roypea/RoyPDF%20folder/A27_Kurland_Pea_85.pdf</a>><br>
<div class="im">> (3) Language Independent Conceptual "Bugs" in Novice Programming - Roy D.<br>
</div>> Pea (1986) <<a href="http://www.stanford.edu/~roypea/RoyPDF%20folder/A28_Pea_86.pdf" target="_blank">http://www.stanford.edu/~roypea/RoyPDF%20folder/A28_Pea_86.pdf</a>><br>
<div class="im">> (4) The Buggy Path to the Development of Programming Expertise - Roy D. Pea<br>
> and Elliot Soloway<br>
</div>> (1987)<<a href="http://www.stanford.edu/~roypea/RoyPDF%20folder/A32_Pea_etal_87.pdf" target="_blank">http://www.stanford.edu/~roypea/RoyPDF%20folder/A32_Pea_etal_87.pdf</a>><br>
<div class="im">> (5) MultiLogo: A Study of Children and Concurrent Programming - Mitchel<br>
</div>> Resnick <<a href="http://llk.media.mit.edu/papers/MultiLogo.html" target="_blank">http://llk.media.mit.edu/papers/MultiLogo.html</a>> (1990)<br>
<div class="im">> (6) Programming Environments for Novices - Mark Guzdial<br>
</div>> (2002)<<a href="http://coweb.cc.gatech.edu/guzdial/uploads/18/novice-envs.pdf" target="_blank">http://coweb.cc.gatech.edu/guzdial/uploads/18/novice-envs.pdf</a>><br>
<div class="im">> (7) Brett Victor - Inventing on Principle<br>
</div>> (2012)<<a href="http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCkQtwIwAA&url=http%3A%2F%2Fvimeo.com%2F36579366&ei=KsZNT67SJ4GCgwf1-Lm_Ag&usg=AFQjCNGHACfYpq0IFm1Krb2xBGWAF-_JLw&sig2=eGsjoGhKYkMHkr4HmZLCyw" target="_blank">http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCkQtwIwAA&url=http%3A%2F%2Fvimeo.com%2F36579366&ei=KsZNT67SJ4GCgwf1-Lm_Ag&usg=AFQjCNGHACfYpq0IFm1Krb2xBGWAF-_JLw&sig2=eGsjoGhKYkMHkr4HmZLCyw</a>><br>
><br>
</blockquote></div><br>