The main thing about choosing programming languages to study is that there is no right answer. The best approach here is to suck it and see (if it sucks or not :-). There are plenty of sites on the net providing documentation and example programs - go take a look.
Two other considerations are:
What will the CompSci course be teaching or using?
This would be a good consideration. There are probably good reasons why they have chosen a particular language, as it may be good for introducing certain skills and algorithmic techniques. Also, you will steal a march on your classmates.
Which languages are popular on the job market?
This is less important at your stage, as your first job applications and resumés will not be able to count skills picked up in your own time - hobby programming. But, these skills come into fruition if you actually get to use a language or a technique on the job, if you have the understanding up-front.
In particular, there are a few languages not mentioned by others:
- Smalltalk
This gives a very different, more dynamic feel of OO than C++, and Perl's OO is closer to this.
- Prolog
Prolog will give you a good introduction to predicate calculus and AI.
- A pure functional language like SASL or Miranda.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.