Sobin said:
Hi,
I am new to programming...which language should I study
to get a hot job. is it C# or C++...?
Thanks In advance
Sobin
Neither of those is a very good first language. Actually, object-oriented
*anything* isn't a good first language. Start with something that starts
executing at the top of the file and goes until it hits the bottom, maybe
python (perl and tcl also qualify but are going out of vogue, maybe ruby
would be another good alternative, even straight C wouldn't be too bad but
there's still some -- to the beginner -- magic incantations to learn to get
a program started).
Then, once you've mastered simple I/O, loops, and arithmetic, and are ready
for some file access or graphical windows, switch to an object-oriented
language or learn the O-O extensions to the language you started with.
I would basically have the following rule: don't start with any language
where "hello world" is more than five lines. Here's the C version for
reference, exactly five lines:
#include <stdio.h>
int main( void )
{
puts("Hello world\n");
}
OTOH C#:
using namespace System;
public class MyProgram
{
public static void Main(void)
{
Console.WriteLine("Hello World");
}
}
As you can see, there's a lot of extra junk that you won't learn for a
while.
Whereas PERL has no fluff:
print "Hello world\n";