News for hackers. Stuff that matters.
Re:Try Haxe by boofar on Sunday June 10, 2012 @02:16PM (#4091729)
Functions are public by default. You could leave that out.

The main function has to be static and will serve as the entrance point of the program, not the class. So this might just look like too much when in fact this is just a very small code sample.

Did I address some of your concerns, or did I miss the point entirely? Just curious.

Re:Try Haxe by jonpacker on Sunday June 10, 2012 @02:22PM (#4091739)
I think his comment could be refrased as "This language looks like Java"
Re:Try Haxe by clemos on Sunday June 10, 2012 @03:04PM (#4091863)
Also, IMHO the fact that Haxe looks familiar to people coming from Javascript, ActionScript, or Java is a plus.
Re:Try Haxe by WiseWeasel on Sunday June 10, 2012 @04:34PM (#4092117)
Agreed. I'd wager there are substantially more people learning JavaScript these days than PHP, not that PHP looks too foreign, relatively speaking.
Re:Try Haxe by clemos on Sunday June 10, 2012 @02:56PM (#4091831)
Well at least it doesn't look like PHP...
Re:Try Haxe by clemos on Sunday June 10, 2012 @02:22PM (#4091741)
Actually functions are private by default.

"static function main()" seems to work as an entrance point, though, which makes sense somehow...

Re:Try Haxe by boofar on Sunday June 10, 2012 @02:25PM (#4091752)
I'm sorry, you're correct of course! Private is the sane default obviously.