documentation and papers about const/invariant
Sean Kelly
sean at invisibleduck.org
Tue May 20 08:33:58 PDT 2008
== Quote from Ary Borenszweig (ary at esperanto.org.ar)'s article
> For example Java allows you to write "int foo[];" instead of "int[]
> foo;", just to make C/C++ programmers feel a little more comfortable.
> And still, I haven't known a Java programmer that declares arrays that
> way, and probably when you teach Java to someone that knows C/C++ you'd
> say "See? The type is in one place, the name is in the other, much
> clearer!" :-)
D supports that declaration style too. But the only D code I've ever seen
that uses it is Walter's.
Sean
More information about the Digitalmars-d
mailing list