Phobos packages a bit confusing

Nick Sabalausky a at a.a
Mon Nov 30 06:54:15 PST 2009


"retard" <re at tard.com.invalid> wrote in message 
news:hevo45$2to1$2 at digitalmars.com...
> Mon, 30 Nov 2009 04:55:29 +0000, dsimcha wrote:
>
> Well, they have been teaching the Java i/o stuff to first year students
> for a while now. I completely agree that it's a bit too complicated for
> novices, but it's not the only bad thing:
>
> public static void main(String[] args)
> { System.out.println("Hello world!"); }
>

Correction:

class Main {
  public static void main(String[] args)
  { System.out.println("Hello world!"); }
}

(Or something like that anyway, been forever since I touched Java.)

> Wtf. They used to learn Scheme:
>
> (print "Hello World")
>
> I guess the PhD requirement is a bit exaggerating. Of course you do need
> to learn some basic concepts first. OTOH I know a handful of C
> programmers who just don't get why their (unbuffered) i/o routines always
> perform badly, and use libraries instead. 





More information about the Digitalmars-d mailing list