Friday, May 21, 2010

Which Programming language is easier to learn?

I would like to find out which Programming language is easier to learn and most appropriate for programming a mobile microprocessor out of the following programming language: C, C++ , Java or Lego Java ; as I would require one of the language to programme my mobile robot.


Thanks

Which Programming language is easier to learn?
High level language are very easy not like machine language or assembly language.
Reply:Chinese i think..
Reply:Among the ones you have listed, Java is the easiet one. I started with Pascal and then went on to learn C++. I learned C much later on and then Java. And from experience I can say that Java was easiest to learn because it doesn't get into many complicated things like pointers and memory cleanup from beginning.





I'm not familiar with mobile microprocessor programming so not sure which one is more powerful for that purpose. But you should find out whether you can do this using C# or VB.NET or something similar in .NET since these are the best programming tools available today that combine the best functionalities of C, C++, Java, etc. Good luck!
Reply:C is probably the easiest but I don't know.


C++ is more advanced and better.


Java I find annoying.





I don't actually know how to script in these languages.
Reply:If you're programming a microcontroller, you'll have a hard time finding a Java runtime for a micro. They do exist, but are not common, and are typically found only on high-end micros like the DS80C400 from Maxim. C++ is also not typically found on micros.





Most micros are programmed in C or assembler. I would suggest C, since you can find compilers for most micros, usually available in a "lite" version from the micro manufacturer for free. There isn't much reason to program in assembler, unless you need to create a really tight, fast loop for some reason. In that case, I would still write the program in C, and use inline assembler code for the fast stuff.





If you're writing part of you application on a PC, then you're free to use any language, of course. Java or C++ are great choices. Java is easier to learn, since it will prevent you from making common mistakes that C/C++ would allow (for example, writing outside the bounds of an array).





Good luck!
Reply:Well I feel that java is easier to program Mobile micro processor as It has J2ME and that has been written just for micro device programming.





It will make more sense programming in his though U can do it in C++ too.


GUd Lc BYe
Reply:java
Reply:Go on, be a devil .. dare to be different! ;o)





Links below:
Reply:From your list, it is C that is best for your purpose.
Reply:For the purpose of programming a mobile robot, C is the only choice.





Had such thing back in college, it is either C or Assembly; the thing is an Intel 8051 Microcontroller.
Reply:Java of course. Then go to C and up to C++
Reply:I am sure you can do this in C, C++ or Assembly (please get this confirmed). Given these choices I would choose C++ as it will teach you OOP (Object Orientated Programming) however C is easier.


No comments:

Post a Comment