Evan Martin (evan) wrote in evan_tech,
Evan Martin


Speaking of types, this poor program isn't gonna work even if they could get the syntax right.

For a beginner, is fixing Period1's type to either float or string a good thing or a bad thing?

(And whoa, people still use floppies?)

I'm very curious about teaching programming languages; I asked htang (who has studied both CS and teaching extensively) about it and she didn't know if there was any conclusive evidence about what is more "natural". Regarding types, it always seemed to me that teaching C++ was needlessly confusing in that the magical "cout" function didn't care about types while everything else did.

Meena wanted to learn about programming so I tried to start her with Python. The first major point of confusion (aside from the minor confusions that are inevitably overcome with teaching) was the difference between "print x" and simply "x" at the prompt, because both seemed to just output x's value.
Tags: funny, programming languages

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.