Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

absolute beginner

Options
2»

Comments

  • Registered Users Posts: 316 ✭✭laurence997


    Sorry if this is butting in but I am also wondering what programming language to learn. I'm not really interested in designing websites and would rather learn how to control hardware(motors etc.) from a computer.
    thanks.


  • Registered Users Posts: 3,945 ✭✭✭Anima


    C would be the best language for that.


  • Closed Accounts Posts: 2,349 ✭✭✭nobodythere


    Sorry if this is butting in but I am also wondering what programming language to learn. I'm not really interested in designing websites and would rather learn how to control hardware(motors etc.) from a computer.
    thanks.

    C would be good for this, it allows low-level hardware control through dos or unix.

    If you want to do it on microchips, I suggest you get a PIC programmer and some PIC chips (16F84 is the most used one) and try to program them to do a few things.

    Also you might be interested in dutchforce the electronics forum: dutchforce.com


  • Registered Users Posts: 316 ✭✭laurence997


    Thanks for the help. Just one question. . . Is C programmaing the same as C++?

    I will see about getting the PIC programmer and PIC chips from maplain.


  • Registered Users Posts: 3,945 ✭✭✭Anima


    C++ is a subset of C, which means it can do everything C can do plus a few more things. If you learn C, it won't take much to move to C++.


  • Advertisement
  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Anima wrote: »
    C++ is a subset of C, which means it can do everything C can do plus a few more things. If you learn C, it won't take much to move to C++.
    C a subset of C++ :) - Yep, once you learn C, C++ should be fine. Big difference is C++ can be done both OOP and Procedural, and C just procedural.


  • Registered Users Posts: 3,945 ✭✭✭Anima


    Heh oops :P

    I should of said superset.


  • Registered Users Posts: 316 ✭✭laurence997


    Webmonkey wrote: »
    Big difference is C++ can be done both OOP and Procedural, and C just procedural.
    May I ask the difference between OOP and Procedural.


  • Registered Users Posts: 197 ✭✭pauldiv


    May I ask the difference between OOP and Procedural.

    You could start here: http://en.wikipedia.org/wiki/Procedural_programming

    Re - C/C++ for electronic circuits.
    I prefer Linux myself and found that there are plenty of good free electonics packages in the software repositories. There are emulators for many PIC Microcontrollers and all the tools you need for starting to learn about embedded development. Linux is perfect for this type of work.
    There are also good books on Embedded Linux.

    Have fun.


  • Registered Users Posts: 360 ✭✭eddyc


    Sorry to butt in on the thread but I was wondering does anyone have experience with objective-C, would this be a decent language to start with, I'm on the Mac and the dev tools you get with it seem pretty good, I was wondering because I wasn't sure if I should start with something more standard like Java, C++ etc..


  • Advertisement
  • Registered Users Posts: 316 ✭✭laurence997


    Can I ask what a programmable logic controller (PLC) is then? I notice that it has only a few commands in its language.
    This is a link to a site that shows how to use one to control Hallowe'en attractions. I presume that they cannot be used as effectively as something with hundreds of commands in its language.
    http://www.thebells.net/Halloween/PLCC/PLCC.doc

    Any help telling me how effective or uneffective these are would be greatly appreciated.


  • Registered Users Posts: 377 ✭✭CarefulNow


    Sorry if this is butting in but I am also wondering what programming language to learn. I'm not really interested in designing websites and would rather learn how to control hardware(motors etc.) from a computer.
    thanks.

    I just finished my Leaving Cert and I did the new subject 'Technology'. For the project we used a PICAXE board. They can control lots of different things e.g. motors. We used software called PIC Logicator to program the PIC. It is very easy to use and you don't need to have any knowledge of a programming language. The PIC can also be programmed using the BASIC programming language.


  • Registered Users Posts: 881 ✭✭✭raher1


    Is Phyton the best? Over java?


  • Registered Users Posts: 5,246 ✭✭✭conor.hogan.2


    Sonye wrote: »
    Is Phyton the best? Over java?

    Neither is better, just different.

    Python is known to be more friendly to beginners, Java is more widely used.


  • Registered Users Posts: 881 ✭✭✭raher1


    What's the best Conor?


  • Registered Users Posts: 7,157 ✭✭✭srsly78


    eddyc wrote: »
    Sorry to butt in on the thread but I was wondering does anyone have experience with objective-C, would this be a decent language to start with, I'm on the Mac and the dev tools you get with it seem pretty good, I was wondering because I wasn't sure if I should start with something more standard like Java, C++ etc..

    Obj-C is only used for mac and the iphone. Better off learning a mainstream language like java or c++ if you don't want to be limited to a single type of job.


  • Registered Users Posts: 1,922 ✭✭✭fergalr


    srsly78 wrote: »
    Obj-C is only used for mac and the iphone. Better off learning a mainstream language like java or c++ if you don't want to be limited to a single type of job.

    ...in case he is still deciding 2.5 years later - whats with this thread necro? :)

    Neither is better, just different.

    Python is known to be more friendly to beginners, Java is more widely used.

    http://www.youtube.com/watch?v=d8Oe9SteE3M&t=18s

    Its an impossible question to answer, absent a particular context.

    I'd say that, all other things being equal, python is probably 'better', in that its more productive, cleaner, elegant, unless the project is large, or many person, and you need better tool support, in which case probably java has an edge.

    I'd probably pick python for most projects I'd set out to do.


  • Registered Users Posts: 5,246 ✭✭✭conor.hogan.2


    Exactly, not better just different.
    But for a beginner I would favor Python (or Ruby possibly) over Java.


Advertisement