Slashdot Mirror


How Did You Learn How To Program?

theodp writes "'Every programmer likely remembers how they learned to code,' writes GeekWire's Taylor Soper. 'For guys like Bill Gates and Paul Allen, the magic began on the Teletype Model 33 (pic). For others, it may have been a few days at a coding workshop like the one I attended for journalists.' If you're in the mood to share how and in what ways your own developer days began, Soper adds, 'cyborg anthropologist' Amber Case is collecting stories to help people understand what it takes to learn how to code. Any fond computer camp stories, kids?"

4 of 623 comments (clear)

  1. The worst way possible... by JDAustin · · Score: 1, Insightful

    ....by debugging Excel macros.

  2. Start with curiosity, them experiment ... by perpenso · · Score: 2, Insightful

    Personally I don't think the language and hardware are that important. They are "implementation details", important, but perhaps more important for more advanced stages of learning to program. :-)

    I think learning to program starts with picking something you are curious about. Ex: How could I do [insert problem here] on a computer? Then figure out how to do it using the hardware and language at hand.

    For me one example was a blackjack card game. As I learned more, both in a formal CS program and in my own "independent studies", the details of the implementation changed. The hardware and language also changed as appropriate. From a single player game written in BASIC on an Apple II to a real time multiplayer game written in C on MS-DOS using an novell ipx network.

    Another example was more assembly language oriented. Matrix and vector multiplication functions for 3D graphics. 68K, i386, ppc, amd64, ... One of the interesting things here was the different approaches given a RISC vs a CISC CPU. This carried over to C/C++ as well, in general that there is sometimes no universal solution to a problem, that the correct solution depends on one of those "implementation details", the hardware. In short, don't just copy a solution from a book (or in more modern terms don't just cut-and-paste a solution from the web). Take a little time to see what the code you are looking at is doing and think about how appropriate this implementation is.

  3. I learned to program by ... by Skapare · · Score: 3, Insightful

    ... NOT being distracted by Facebook and Twitter. Good thing those and the whole internet were not around back then.

    --
    now we need to go OSS in diesel cars
    1. Re:I learned to program by ... by houghi · · Score: 4, Insightful

      Distraction will happen regardless of Internet. Before that there was tv, books, radio,
      Facebook and Twitter are not the reason of distraction. They are the result. Distraction happens if what you are doing has no value to you at that specific moment.
      I am sometimes distracted by looking aimlessly outside.

      --
      Don't fight for your country, if your country does not fight for you.