Programming Question - This time it's different

Posted:
in AppleOutsider edited January 2014
There's probably a million threads about beginning language choice, but no one ever asks about beginning programs.



When starting to learn about programming, what did you first program? What did you create in order to gain experience? Or maybe better yet, what was your very first app besides 'hello world?' And why?

Comments

  • Reply 1 of 8
    MarvinMarvin Posts: 15,326moderator
    I think mine was a simple database to get used to data structures (arrays, lists), pointers etc. Data structures are more or less what all programming is about so very important to grasp.
  • Reply 2 of 8
    Quote:
    Originally Posted by store_bot View Post


    There's probably a million threads about beginning language choice, but no one ever asks about beginning programs.



    When starting to learn about programming, what did you first program? What did you create in order to gain experience? Or maybe better yet, what was your very first app besides 'hello world?' And why?



    HyperCard, all the way.



    I technically did learn Basic first, but you couldn't do anything really useful with it then.



    I made lots and lots of little Myst-style adventure games—though obviously not as long and with clip art rather than 3D graphics.



    The next time I programmed was with PERL, then onto ActionScript (Flash), then C++ and finally Objective-C, which is my absolute favorite language so far.
  • Reply 3 of 8
    snoopysnoopy Posts: 1,901member
    Quote:
    Originally Posted by store_bot View Post




    . . . what was your very first app besides 'hello world?' And why?






    After "hello world" was the fibonacci series. Instructor's choice.



  • Reply 4 of 8
    mydomydo Posts: 1,888member
    I think I took a "data structures" class and we coded up polynomials. Where were linked lists of monomial. It was actually a lot of fun. It was in C++ so we overloaded the operators for + - * / and coded the math operations. Every time we did an operation we had to sort the monomials by their power and then add the ones with the same power together.



    It was
  • Reply 5 of 8
    mydomydo Posts: 1,888member
    Look at the "Geometry" section in this Wikipedia. It's the first defaced Wikipedia article I've found. I guess I don't read it a lot.



    http://en.wikipedia.org/wiki/Monomial
  • Reply 6 of 8
    splinemodelsplinemodel Posts: 7,311member
    The first program (not script) I wrote that was not classwork was a program that estimates impedance in a loop antenna of arbitrary polygonal shape and layers. It uses standard IO and takes in an XML file describing the antenna. I would like to get it to accept DWGs, but I'm lazy and never got to doing that. Plus, if I'm going to do it over, I'm going to do it by pure numerical analysis, which will require a total re-write.



    Anyway, after four years of being dormant, it looks like I might be doing that rewrite in the near future. I'm working on a low frequency radio project.
  • Reply 7 of 8
    My first programming language was Apple's dialect of Basic, Integer Basic.
  • Reply 8 of 8
    tb6387tb6387 Posts: 59member
    I took a computer engineering course that took a pragmatic approach to programming. We first learned binary, then assembly (for a hypothetical 16-bit architecture) and finally stepped up to C. IMO this was great because it really allowed me to see why the compiler would do the things it did and give you the errors that it does. It really gives you a ground-up view of programming.



    That being said, this method works great when it is structured in a class and you are examined on what you know, but may not be the most suitable to teach yourself, although having at least an understanding of assembly language can't hurt anything.



    Also, C is not too complicated to learn the basics of and its rather powerful. My first meaningful project was creating an assembler for the aforementioned architecture.
Sign In or Register to comment.