Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

learning

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
Subscribe

  • dremel

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

  • google ime

    Japanophiles might be interested to learn that Google released a Japanese IME. IME is the sort of NLP problem that Google is nearly uniquely…

  • ghc llvm

    I read this thesis on an LLVM backend for GHC, primarily because I was curious to learn more about GHC internals. The thesis serves well as an…

  • Post a new comment

    Error

    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.
  • 9 comments