Second language

Pages: 12
Jan 17, 2012 at 4:31pm
Hey forum,

I feel like it's time to learn something new. I've been using C++ for a year now and I think I need to get familiar with some other programming paradigms before I get stuck with OOP!
I'm looking into Scheme and Perl now.
Can you suggest me something (preferably a skill that will be useful later on when I get into the job field!)

Thanks, Xander
Jan 17, 2012 at 4:34pm
Perl's a fun, useful, and very powerful language. I certainly recommend it. :)

-Albatross
Last edited on Jan 17, 2012 at 4:34pm
Jan 17, 2012 at 4:37pm
Will it teach me any new insights or change the way I look at programming?
Jan 17, 2012 at 4:47pm
It'll teach you how to write dynamically-typed programs that don't require debugging. Debugging a dynamically-typed program can be a nightmare sometimes. :/

It'll also teach you about regular expressions which at this moment aren't yet fully implemented in C++.

It'll possibly teach you about the applicability of different languages in different situations.

In short, yes. ;)

-Albatross
Jan 17, 2012 at 4:48pm
closed account (1vRz3TCk)
Can you suggest me something (preferably a skill that will be useful later on when I get into the job field!)
Pure C?
Jan 17, 2012 at 5:03pm
How about a scripting language like PHP? Last time I checked it was pretty close to C(++) syntax-wise, but the applications are generally much different. Plus, it's much easier to toy around with some SQL if you're working in PHP. Databases are important!
Jan 17, 2012 at 5:23pm
ASM or Haskell. Not necessarily something you will ever use, but they're both good at widening your understanding of things. There isn't much you could lean from other procedural/oop languages that you don't know yet.
Jan 17, 2012 at 10:37pm
Python, JavaScript, and Java are pretty hot on the job market right now. Python and JavaScript are simple to learn if you already know C/++.
Edit: Java is also pretty similar
Last edited on Jan 17, 2012 at 10:37pm
Jan 17, 2012 at 11:19pm
Then blow your mind with Prolog.
Jan 17, 2012 at 11:25pm
... I just tried to 'like' that response, ne555.
Jan 18, 2012 at 12:31am
Sorry, ¿what that is supposed to mean?
Jan 18, 2012 at 12:34am
On Facebook you can click a button to 'like' people's comments. I don't have a Facebook though so I don't know what it entails.
Last edited on Jan 18, 2012 at 12:34am
Jan 18, 2012 at 2:04am
All it entails is it showing that you like'd a statement. I habitually do it when I see something that makes me laugh.
Jan 18, 2012 at 3:08am
closed account (3hM2Nwbp)
The top tools that I use in order of frequency are C++, Java, and PHP, respectively. Looking to the future, however, it would seem that mobile development will be in high demand.

*I'd actually recommend learning Java. Since you already know C++, it shouldn't take very long to adjust to the syntax. There are quite a few nice toys that Java offers such as applets, JNLP, JNA, and the core API documentation blows all other languages' docs out of the water, hands down.
Last edited on Jan 18, 2012 at 3:10am
Jan 18, 2012 at 4:19am
@CodeMonkey, Gaminic, strondrink, Luc Lieber
I think what the OP wants is to learn something different from C++. :\

-Albatross
Jan 18, 2012 at 4:29am
My recommendation follows Albatross. You want to learn maximum freedom in syntax try Perl :P
Jan 18, 2012 at 5:44am
Japan-oh.
Jan 18, 2012 at 8:33am
Everyone will suggest you his/her favourite language. I recommend Scala. It catches in the financial and web sector very quickly and is already considered a Java for power-users. It may look like a Java/C++ with a very terse scripting-like syntax at the first glance, but when you get deeper into it, it offers some extremely powerful (but sometimes hard to grasp) tools, especially for library-writers, e.g. higher-kinded types, covariant generics, pattern matching, traits, parser combinators, continuations, embedded DSLs etc.

And contrary to many other interesting niche languages (e.g. D, Ceylon or Google Go), it has already a production ready compiler, debugger, IDEs, documentation, rock solid runtime, and huge and very advanced community so you can devote your time to really programming instead of fighting bugs in the tools.
Last edited on Jan 18, 2012 at 8:36am
Jan 18, 2012 at 11:24am
closed account (1vRz3TCk)

Albatross wrote:
I think what the OP wants is to learn something different from C++. :\

hmm, the points of interest that I read in the OP
~ I need to get familiar with some other programming paradigms before I get stuck with OOP
~ preferably a skill that will be useful later on when I get into the job field!

reasons for suggesting pure C
~ I consider programming in C sufficiently different from programming in C++ too make a minor detour into learning it worthwhile.
~ there is a lot of code out there written in pure C
~ it is likely to give you more practice in designing and implementing algorithms that yo have taken for granted in C++.
...
Jan 18, 2012 at 11:37am
If you really want something entirely different, get into J/APL. I have no idea how it works, but the code snippets I've seen on projecteuler are fascinating. They're solving highly complex problems in a single line of code.
Pages: 12