Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Teaching someone to program (OT)

Author: Gian-Carlo Pascutto

Date: 08:18:10 04/23/02

Go up one level in this thread


On April 22, 2002 at 22:05:48, Antonio Dieguez wrote:

>On April 22, 2002 at 21:54:32, Russell Reagan wrote:
>
>>different languages. For example, maybe start off with "hello world" programs in
>>BASIC, C, C++, and other languages (suggestions on other languages?).
>
>JAVA!
>is very clear in some aspects and it is very nice, and it is still very
>powerfull.

System.out.println("The result of 2 + 2 is " + 2 + 2);
System.out.println(2 + 2 + " is the result of 2 + 2");

(I hope this is correct syntaxis, I don't do Java normally)

I remember attending the first lesson of one of the introductory
programming classes here and annoying the teacher with
the question why one would work and the other not.

Try to explain this to someone who is just learning to program!
I think, strong typing can have it's advantages :)

--
GCP



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.