Programming

Discussion in 'Mac Programming' started by dukebound85, Jul 24, 2005.

  1. dukebound85 macrumors P6

    dukebound85

    Joined:
    Jul 17, 2005
    Location:
    5045 feet above sea level
    #1
    Is it just me or does programming seem to be a daunting task to learn. I have had to do basic programming with mathcad and matlab with iterations and etc and I had always managed to always have some difficulty. Oh where to start, where to start lol
     
  2. MacFan26 macrumors 65816

    MacFan26

    Joined:
    Jan 8, 2003
    Location:
    San Francisco, California
    #2
    Yes. It is tough to learn, but once you get going on it, it can be a lot easier to understand what you're doing. Some people can get into it a lot faster than others, a lot of times they're the math people who just "see" stuff. Are you doing this programming in college?
     
  3. dukebound85 thread starter macrumors P6

    dukebound85

    Joined:
    Jul 17, 2005
    Location:
    5045 feet above sea level
  4. Doctor Q Administrator

    Doctor Q

    Staff Member

    Joined:
    Sep 19, 2002
    Location:
    Los Angeles
    #4
    Programming in general takes learning, but there are ways to keep the complexity down. More importantly, you don't have to use a full scale programming language to program. Using a scripting language, a macro feature built into an application, or a tool like Automator is programming too, and a lot easier.

    And books can help too!
     
  5. MacFan26 macrumors 65816

    MacFan26

    Joined:
    Jan 8, 2003
    Location:
    San Francisco, California
    #5
    fun times ;) :D
     
  6. Omen88 macrumors regular

    Omen88

    Joined:
    Jan 8, 2002
    Location:
    Flanders (Belgium)
    #6
    Yes I'm one of those non-math people. I used to have great difficulty with maths and was head of class for programming. This was mostly due to the fact I wasn't interested in math at all. I've managed to learn what was necessary for maths, but I'm not really someone who just sees the stuff.

    In my opinion programming has most to do with experience and careful planning. You should be an architect who tries to see the big picture. First sketch and draw everything out in paper. The actual coding should only be done when you are certain of your design. It's a lot harder to build a house without a plan by just start putting bricks everywhere.
     
  7. ppc_michael Guest

    ppc_michael

    Joined:
    Apr 26, 2005
    Location:
    Los Angeles, CA
    #7
    It can be easy or hard, depending on how you go about it.

    I'd strongly recommend learning ANSI C first. It's a powerful, nicely formatted language. After that, many other languages will come much easier. PHP, Java, ObjectiveC, C++, etc, etc, are all similar to C.
     
  8. ham_man macrumors 68020

    ham_man

    Joined:
    Jan 21, 2005
    #8
    It does seem like a daunting task, but it hasn't stopped me from trying to learn it. Picked up a book on ANSI C today, as many have said it is the basis for a good foundation in programming. May try some Cocoa if I get decent, but we will see how it goes. Hopefully it is as enjoyable as I am hoping it is...
     
  9. scott182 macrumors member

    Joined:
    May 23, 2004
    Location:
    Madison, WI
    #9
    May I recommend trying PHP? I've tried learning C++ and a little bit of C in the past, but always felt that I didn't really understand programming until I started with PHP (and Perl). PHP is not a very strict language, so the actual coding doesn't get too much in the way of what you're trying to accomplish, but still introduces good programming concepts (including OOP).

    Plus, you'll be programming useful things very quickly, especially when you pair PHP with MySQL. For example, I've created a database for keeping track of my DVD collection and my golf scores (kept locally on my Mac).

    Recommended book: PHP and MySQL for Dynamic Web Sites by Larry Ullman -- shows how to do many useful things (and it's cheap too!).
     
  10. allegrocm macrumors member

    Joined:
    Mar 13, 2005
    Location:
    Ames, IA
    #10
    I learned C++ programming in a an OpenGL graphics class. I'd never taken programming before, but I'd managed to teach myself BASIC on my TI-86 in high school. But I jumped right into this class. For the first assignment, the teacher said "here's a program that draws three dots on the screen. Make it do something cooler" so I did. I figured out how to make it draw an atom that spun around, changed color, and exploded. Now I do virtual reality programming at one of the best facilities in the country (Iowa State University). Anyway, my point is, it was much easier to learn the programming when I was doing something fun (graphics) and I could SEE what was going on with pictures, not just text on the screen. Oh, yeah, and friend of mine basically learned programming the same way, so it's not just me :)

    Ken
    http://www.vrac.iastate.edu/~kennyk
     
  11. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #11
    I totally agree, it's always much easier for me to be passionate and dedicated about a project when:

    1. it's something interesting to me.
    2. I can actually see it running for the first time.
    3. users begin to tell me they like it and they're really using it.

    Try to work on something that interests you. If thinking about how you can make it better keeps you awake at night, you're on the right track.
     
  12. njmac macrumors 68000

    njmac

    Joined:
    Jan 6, 2004
    #12
    I don't know if this will help, but I saw an interesting slideshow (pdf) from Wil Shipley (mac developer, founder of delicious monster.

    He is a cocoa developer and his slideshow, is a pretty interesting look at being a mac only developer. there is audio you can download to go along with the slides.
     
  13. gamestriker macrumors regular

    Joined:
    Dec 18, 2004
    #13
    This is very true. I'm trying to build a new IDE, in Java, that will have the versatillity to work with virtually any language and be cross platform, but I know this will take months of planning. I actually took a notebook, and have dedicated the notebook for the designing of my program. At certain parts of the design, I will go to my computer and actually start doing some programming, nothing permanent, but more like a prototype system for whatever aspect I'm working on whether its the GUI, the project management, the multiple language support, or the code completion, for instance. As far as, when I have a fully working prototype, I don't expect that for another few months, at the earliest.

    For something like beginning programming, you probably won't need to go as far as I am, but if you take maybe an 15-60 minues on some scratch and kind of figure out what your program will do, how it will look, and how it will work work, maybe even do some psuedo-code, your life will be alot easier when its time to program, and you'll have a better understanding of what your program can and can't do. :)
     
  14. ham_man macrumors 68020

    ham_man

    Joined:
    Jan 21, 2005
    #14
    I believe that you have given me the most brilliant idea for my first program. After I learn it, of course...
     
  15. DrNeroCF macrumors 6502

    Joined:
    Sep 2, 2004
    #15
    Hey guys, I've done a fair amount of actionscript programming in Macromedia Flash... how hard would it be to get a simple 2d sidescroller up and running in OS X? Obviously the timeline based language of flash makes animation based games pretty easy, but I really don't even know how to make a square move right when I press the right key. Does anyone know of a starting point for something like that?
     
  16. scott182 macrumors member

    Joined:
    May 23, 2004
    Location:
    Madison, WI
    #16
    Glad to help -- Hope it's something good... :D
     
  17. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #17
    Google Actionscript
    Download RealBasic - its quick, easy, and it will port to Winblows, Linux, and Mac OS X or Classic
     
  18. dukebound85 thread starter macrumors P6

    dukebound85

    Joined:
    Jul 17, 2005
    Location:
    5045 feet above sea level
    #18
    Thanks for all the input. so what should I start off learning, c. c++, php, etc. Also, this may seem really obvious, but where exactly do you program? terminal, x11, or what? Thanks for all the help
     
  19. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #19
    If I were you, starting out, I would choose one of these to start with, depending on what interests you:

    - Front-end web: PHP
    - Back-end web: Java
    - Scripting: Python
    - Desktop applications: "Straight" (ANSI) C

    They're all good for doing different things, but all will teach you many of the basics of programming which you will need to move on to more advanced stuff (Objective-C, C++, EJB, QuickTime, OpenGL).

    As far as tools, I use Xcode and Cocoa/Objective-C. For any of the languages listed above, however, I'd start with the excellent (and free) text editor TextWrangler, and Terminal to compile and run. Later you can move to advanced (and complex) IDEs such as Eclipse or Xcode.
     
  20. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #20
    If you have a Windoze PC, then Dev-C++ is an awesome program http://www.bloodshed.net they used to have a Mac and Linux port, but no one updates them or that, so yeah. But its a good program, comes with Gcc 3.3.1 I think... haven't checked back in a while so go check it out.
     

Share This Page