D vs Java as a first programming language

Simen Kjaeraas simen.kjaras at gmail.com
Sun Sep 28 16:33:36 PDT 2008


Janderson <ask at me.com> wrote:

> On of the nice things about D is that its a multi-paradigm language.  
> That is it has a bit of everything in it.  That should make for learning  
> other languages easier once one knows D.  Also hello world is a lot  
> simpler in D:
>
> import std.stdio;
>
> void main(string[] args)
> {
> 	writefln("Hello World!");
> }
>
> I think you could craft tutorials that have small enough steps to make D  
> a very easy language to learn.
>
> -Joel

Actually, you can make hello world even simpler:

void main()
{
   printf("Hello World!");
}

-- 
Simen



More information about the Digitalmars-d mailing list