Introduction to Mac programming

Discussion in 'Mac Programming' started by AppleHater, Jan 29, 2016.

  1. AppleHater macrumors 6502a

    Joined:
    Jun 9, 2010
    #1
    If I were to help introduce programming on Mac for a high school kid who doesn't have any prior experience, what resources (online or books) will be a good starting point? The kid is pretty smart and good at figuring things out on computers on his own but haven't learned any programming, yet.
     
  2. kilon macrumors newbie

    kilon

    Joined:
    Nov 12, 2008
    Location:
    Athens , Greece
  3. Starfia macrumors 6502

    Starfia

    Joined:
    Apr 11, 2011
    #3
    AppleHater – do you mean he wants to learn any programming language and uses a Mac, or he wants to learn to program Mac apps?
     
  4. briloronmacrumo macrumors 6502

    briloronmacrumo

    Joined:
    Jan 25, 2008
    Location:
    USA
    #4
    There are many available competent online resources ( although I'm old school and still have my books that don't vanish when there is no power or internet connection ). Some specialize in Swift and/or Objective-C ( https://www.youtube.com/channel/UCDg-YmnNehm3KB0BpytkUJg ) others are more generic ( i.e. C tutorials ) and some are PDFs that can be downloaded and read ( http://rypress.com/tutorials/objective-c/index ). There are also other languages out there. For example: http://4toc.com/fb/index.htm is a procedural BASIC language ( FutureBASIC ) with features for every level of programmer ( i.e. includes inline use of C and Objective-C ). A lot depends on the goals of you and your student as to which approach and language is most appropriate.
     
  5. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #5
    As other folks have said, it's helpful to understand very roughly what sort of thing interests him. For example, making iPhone apps, making OS X apps, web design, etc and focus on something that's going to guide him in that direction. I started out on AppleScript with a little Javascript thrown in many years ago but I wouldn't recommend either of those as being sensible entry points.

    I'm no fan of Python, but many folks seem to think its a good starting point. Personally, I'd look at some form of C or maybe Swift. Depending on the age of the kid, there are plenty of resources nowadays aimed at getting kids into coding, for example https://www.tynker.com (disclaimer: I have never used that site, it's just an example!)

    Good luck!
     
  6. AppleHater thread starter macrumors 6502a

    Joined:
    Jun 9, 2010
    #6
    I'm sorry for late reply. It's just I want to introduce programming, and since we have Mac home, I figured Mac programming. Having said that, probably, being able to produce a small app running on Mac can be a fun way to learn.
     
  7. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #7
  8. BeanieMan macrumors regular

    Joined:
    Feb 18, 2010
    #8
    I would personally second Python. It comes on the mac, and it's incredibly useful across a huge variety of domains. As for stirring interest, I would suggest that doing some visually pleasing projects would do the trick there, whether it's by just plotting with matplotlib or using some gui framework, or even just generating some images of fractals or whatever and simply saving to a netpbm formatted file.
     
  9. aaronvan Suspended

    aaronvan

    Joined:
    Dec 21, 2011
    Location:
    República Cascadia
    #9
    Dr. Racket is a great introduction to programming.
     

Share This Page