Quote:
Originally Posted by profamous
I was going to either use C or Java because once I learn these I can pursue other interests outside of FRC. I chose C over Java because more programs are written in C compared to Java.( http://www.tiobe.com/index.php/conte...pci/index.html)
But, since most of you guys and people I have talked to say they use Java because it is easier, I might just go with that.
|
Yes, C (though mostly variants like C++ and C#) is used quite commonly for most "real-world" applications. It is a powerful and fairly universal tool. However, I would still not suggest it as a first language for a beginner, however.
Java will teach you how to be a good C++ programmer. The languages are so similar that it is often hard to tell the differences, but one of the main differences is that Java tends to force you into good habits, while C gives you a more free reign. This can be good and bad. For a beginner, building good habits will make everything afterwards magnitudes easier. For an expert, the limitations will slow you down.
Another thing you could experiment with is
Python. It is quite an exercise to use it on an FRC robot, but it is one of my favourite languages. Which brings me to my last few words of advise; learn all the languages you can!
Learn you a Haskell for great good or something! Make something in
Perl!