Do you remember your first bit of code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • YenTheFirst
    replied
    Re: Do you remember your first bit of code?

    Technically, my first bit of code was a 'hello world' in C++ (or maybe even Visual C++, can't remember).

    My first real coding, though, was done in BASIC on a TI-83 calculator. One very nice advantadge of that environment, for all it's other limitations - it didn't have a keyboard, so all keywords were actually tokens selected from a menu.

    For me, this reinforced the idea of tokens/reserved keywords in a language, and also made the language more discoverable. as in - 'hmm. I wonder what 'while' does? what is 'goto', or 'lbl'?'

    direct pixel graphics access was also nice.

    Leave a comment:


  • Regedit
    replied
    Re: Do you remember your first bit of code?

    Originally posted by rkill
    Do you remember your first bit of code?
    I started with gwbasic. To run a game you had to first load it, which displayed all the code. Didn't take long to see how I could start with 20 lives instead of 3, and then it was typing full games from a commodore book o code.

    Leave a comment:


  • rkill
    started a topic Do you remember your first bit of code?

    Do you remember your first bit of code?

    I was looking through some old junk and found my Commodore 64 notebook. Inside is my very first bit of code.

    0 PRINT "HELLO WORLD!"
    1 END


    Not too bad, rather than just entering PRINT "HELLO WORLD!" I apparently prefixed line numbers to store the program in memory and then typed RUN to run the program. I can’t take any credit for this; I remember where these notes are from.

    I was introduced to BASIC at a C64 club that held its meetings in a mobile home park in Morgan Hill, California. I was just this random kid that showed up with both his parents. One of the guys sat me down and spent the night going over BASIC and the benefits of a 5.25-inch floppy punch. That guy was cool. I hope I'm that cool. later that same week I actually purchased a floppy punch that I found in a bin of random crap at a Kmart. Now that I think about it, that punch was my first hack.

    Do you remember your first bit of code?
Working...