Andrey (azangru) wrote,

I think my first introduction to programming was the Learn To Program: The Fundamentals course on Coursera. Coursera was then still fresh from the mint (they hadn't introduced the paid tier yet, and all participants could get certificates after completion of a course for free), and had few CS courses. It must have been some time between 2012 and 2014. The course was in Python. The teachers were a pair of Canadians. I remember installing IDLE on my Ubuntu. I remember not immediately getting what dictionaries were for (did I get it by the end of the course? I don't remember). Definitely didn't see the point of having tuples when there already were lists. Classes — I think they were introduced in the subsequent part of the course — were a complete mystery. I believe I saw the __init__ method, and was profoundly shocked by the ugliness of the name.

By the time I started to learn Ruby, I understood what dictionaries (or "hashes" in Ruby speak) were for. But I remember being puzzled by classes — their purpose, the point of having getters and setters ("accessors"), and the reasons for why you would want to have inheritance were completely lost on me. The "reduce" (aka "inject", god help them) method on the array was imponderable black magic.

I guess you need to write some code for some time to start appreciating those things...

  • (no subject)

    Imagine buying a phone that snitches on you to the authorities if it spots something illegal:

  • (no subject)

    Someone's comment on Twitter reminded me how differently we interpret what we experience: My impression from that interview was that Yuri was…

  • (no subject)

    Via Twitter. From the book The Gray Lady Winked, photographed by Michael Shermer: Here's the tweet that the paragraph references (took a while…

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