Hi /prog/. I do not speak any programming languages. I am not going to be a Computer Science major, but I am offered the option of taking a class in either C++, Java, or Python. I am a Linguistics major. I've been told that I would benefit the most from Python, and I've tentatively signed up for that class. Should I change? If so, why? If not, why not?
Thanks internet.
Name:
Anonymous2008-11-26 0:50
Python, for more reasons than I feel like enumerating.
This will help you become an EXPERT COMPUTATIONAL LINGUIST
now gtfo till you learn to /prog/ properly
Name:
Anonymous2008-11-26 1:11
Python. C++ is the worst introduction to programming imaginable (as well as being a terrible programming language). Pretend there was a language with the phonetic spelling of English, German's lack of compound words, and grammar that no one is quite familiar with. It also has tongue clicks, but they must not be used in any sentence containing a past-tense verb. This is C++. Java is the Newspeak version of that language (the vocabulary does not actually shrink yearly). It's also mind-numbingly prolix. And it's also like lojban, if lojban consisted solely of selbri.
What's going to happen if you take either of those is a forest, TREES situation. There's no way with them you'd gain any insight into the process of programming without doing it for quite a few years. Python, while pretty boring (and while being FIOC), doesn't include a tenth (estimated) the amount of pointless bullshit. You'll be able to get a firmer grasp on the process of making a program that does what you want and takes advantage of code other people have written already. It's also possible to develop a Python program interactively (IMO, only an idiot would choose to work otherwise).