You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

CasioTheSane comments on What is the best programming language? - Less Wrong Discussion

4 Post author: lsparrish 26 May 2012 12:58AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (98)

You are viewing a single comment's thread.

Comment author: CasioTheSane 26 May 2012 06:56:00AM *  4 points [-]

Languages are for completing tasks, and each has varying strengths and weaknesses for different tasks. What specifically do you want to be able to do?

If you are a scientist or engineer who needs to quickly and accurately answer questions from quantitative data or perform statistical inference, R is the way to go. It also has a great interactive command line with powerful data visualization tools and plotting functions. The experience of "playing with" and manipulating data to quickly ask questions, and consider the data in different ways directly from the R command line is amazing.

If you want to do web development, I would recommend Python.

If you want a general low level language to better understand how computers work, or to develop very high performance code I recommend C which is practically a portable assembly language.

Don't waste your time with proprietary languages where without purchasing expensive licenses your code and skill are useless: visual basic, MatLab, etc. unless you're employed by a company that requires it.

In general once you learn a few programming languages, learning new ones becomes easier and easier. For example, as a person proficient in half a dozen other languages I was able to quickly complete big projects in Python without taking any time to explicitly learn it- just by looking at example code, and referencing digital copies of the O'Reilly Python books whenever necessary.

That's a learning strategy I highly recommend: don't waste time just to learn a programming language with tedious examples, just choose a programming project and immediately start learning what you need to know to finish it once step at a time.

Comment author: [deleted] 28 May 2012 04:46:39PM 1 point [-]

R

I've been wanting to learn R. Do you have any reccommendations for tutorials?

Comment author: CasioTheSane 02 June 2012 06:26:34AM *  2 points [-]

I recommend these: Girke Lab R manuals

Full disclosure, I am biased because I co-authored several of those... but I really do think they're quite good. They're oriented primarily towards people that want to do biology/bioinformatics with R.

Bayesian content is in the works...

Comment author: [deleted] 02 June 2012 03:12:11PM 0 points [-]

That's sweet, thanks!

R is severely lacking free tutorials. (As is bayesian stats)

Comment author: shokwave 29 May 2012 05:36:44AM 0 points [-]

This might be an approach.

Comment author: gwern 29 May 2012 01:33:36AM 0 points [-]
Comment author: gwern 29 May 2012 02:36:34PM *  0 points [-]

Do you recommend any of the 3 tutorials/books? The first one sounds good if it would let one kill two birds with one stone: both learn R and learn Bayesian statistics.

Comment author: Jayson_Virissimo 29 May 2012 10:09:36AM 0 points [-]

Wow, thanks.