Go Down

Topic: Confused with what programming language to learn (Read 2352 times) previous topic - next topic

rahulvyas

Hello,

Which programming language is easy and good for a student like me? C and C++ seems to be very boring to me while learning. I started watching Java tutorials which are better than C and C++.
I like GUI based languages which are fun to write.
Should I continue with java?

I want to interface and communicate 'the language' with the arduino software to get more freedom. like making a accelerometer stats program with a software,etc.

Bdw I started learning from thenewBoston channel at youtube.

Thanks in advance,
Rahul

DuaneB

Arduino is C/C++ but if you learn java first it will all look start to look familiar

Duane B

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

PaulS

Quote
I like GUI based languages which are fun to write.

Looked at your Arduino lately? Do you see a place to display that GUI? I certainly don't.

Look at your fancy GUI on the PC. How much of that code did you write? How much do you understand? How much was just "magic"?

The fancy GUI full of buttons and sliders and text fields and tabs needs callbacks to actually DO anything. That's boring work. We'll get someone else to do that. I don't think so.

Once you get past the fancy GUI builder which is fun to play with but accomplishes very little (and Visual Studio has them for C/C++ and C#), you need to write code that accomplishes stuff.

Learning to think logically, so you can develop useful code is not restricted to a given language. Learn one. Whichever floats your boat this week.

Then, nest week, when you want a job as a programmer, it might be important to know what language(s) employers expect you to know. A little clue. The list will be longer than one entry.

rahulvyas

Really nice reply.
So, you mean I should understand the basics of programming which will help me learn any language in future, right?
Then I'll go with java. :)

Graynomad

Yes, the logic and concepts are basically the same with all languages, once you know one you will pick up another pretty quickly because you will know what to do, you'll just need to learn how to do it in the new language.

IMO it's knowing what to do that's the hard part, learn that in any language and the skill will transfer.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

rahulvyas

Okay Thanks :)
Then I think I shall choose java :)

Benji_Australia

The Program without the GUI's are the best as long as they do what they are made to do.
"Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."
"A

robtillaart

Quote
the logic and concepts are basically the same with all languages,

true for 3rd generation languages.
But there are several (academic) languages that have a certain scope that look very different.

Check - http://rosettacode.org/wiki/Sorting_algorithms/Quicksort - to get an impression of the (lack of) power of expression of different languages

At least have a look at APL (looks like hieroglyphs :)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Graynomad

Wow, there's a few I hadn't heard of there.

APL has to take the cake for brevity obscurity though.

I bet the ALP community doesn't bother with an obfuscated contest then?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Coding Badly


Huh.  No Eiffel, Smalltalk, or ObjectPascal versions.

robtillaart


Quote
I bet the ALP community doesn't bother with an obfuscated contest then?

maybe when they see C they find it obfuscated - it is all relative

APL reminds me of opening a binary file in notepad ;)


Quote
Huh.  No Eiffel, Smalltalk, or ObjectPascal versions.

So there is still a job for you to do ;)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up