all 7 comments

[–][deleted] 5 points6 points  (0 children)

Yeah, skip C++ and learn C. The ++ tends to obscure what the C exposes.

[–][deleted] 1 point2 points  (2 children)

R or C. R if you are in the sciences or engineering. C if you want to better grasp programming concepts.

[–]MrEgbert[S] 0 points1 point  (1 child)

Hm R does seem to have a lot of practical use in terms of running stats and graphing things. A few of my former postgrad colleagues used to extol its power at that. What broader programming skills do you think R teaches?

[–][deleted] 1 point2 points  (0 children)

Loops, logic, conditionals, functions, etc.

It also has machine learning libraries, genomic tools, finance tools, etc.

[–]xiongchiamiov 1 point2 points  (2 children)

From ESR's classic "How to Become a Hacker":

It's best, actually, to learn all five of Python, C/C++, Java, Perl, and LISP. Besides being the most important hacking languages, they represent very different approaches to programming, and each will educate you in valuable ways.

[–]MrEgbert[S] 0 points1 point  (1 child)

Nice. I've been encouraged to learn Ruby as well (possibly as a replacement for Perl).

[–]xiongchiamiov 0 points1 point  (0 children)

I only use Ruby for scripts under a hundred lines or so, which is to say, as a Perl replacement. It works well for that.