Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What is a good first language?

Name: Anonymous 2009-03-06 16:45

My 20 year old brother wants to get into programming.  I want to set him up with a language that has these features:

1. Easy to learn, must have simple syntax
2. Immediate results, easy to make graphical and text outputs.
3. Fully featured language(I want him to be able to easily progress into more advanced stuff and not be limited by the language)
4. Fast(So he gets the idea of how powerful computers are)

Name: Anonymous 2009-03-07 3:22

>>26
This is why java would be a good choice.
1) simple syntax.
Uses standard C syntax for arithmetic, assignment, loops and functions.
Standard OO features, all objects are created with new and used with '.'
(I just described the important parts of java syntax, the only other commonly used features are generics, interfaces,exceptions and enums).

2) immediate results.
just extend an applet, let your IDE auto generate functions.  And you have a paint function with a Graphics handle you can use to draw.  For instance to draw a red rectangle:
g.setColor(Color.RED);
g.drawRect(0,0,100,100);

3) fully featured
Since the java api is all object oriented all you have to do is pick the object you want and look at its docs to find out what the methods do.  Its very easy to use the advanced features, which is what makes people hate java so much.  It takes the "hard" out of programming, which in a field where arrogance and pissing contests are so common, doing things the easy way is looked down on.  Why use printf when you can code a 50 line assembly program to print a number.

Fast(So he gets the idea of how powerful computers are)
>>26
I know you are retarded here because I guarantee any hand coded assembly here of any non-trivial length will run slower than -O3 optimized C++ code.  Even if you are super-gosu the optimizations that compilers do these day are too computationally expensive for a human to replicate and beat.
That said Java is plenty fast for any newbies purposes.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List