Skip to main content

Blog Archive for forax during December 2006

Since my last post, i've played with javac enought to be able to provide a patch that enables to let the compiler infers the type of local variables. Life is a matter of choices If you have already read the last Peter Ahé's blog entry you know that, at least, two proposed syntaxes compete. The first one suggested by James Gosling and named 'Algol' in the prototype use...
For an average duke, the big difference between a language like PHP, Python and Java is that you have to declare the type of the variables. In general, it's not a big beal for a statement like this one   foo=new Foo(); to declare the type and so write it like that   Foo foo=new Foo(); The advantage of declaring the type Foo is that the compiler won't let you use foo in...