David Bogus on 19 Sep 2007 14:49:52 -0000 |
Java is slow........................... drum roll please, to type Mainly because of the needless verbosity of the syntax. For exampe: Date firstLogin = new Date(9, 17, 2007); Could be Date firstLogin(9, 17, 2007); It would be nice to allowing not just constructor calls directly on varible declarations, but also named constructors by allowing a call to any static method that returned an instance of the class. This could give you code that reads like this, even with complete static typing. Date firstLogin.today(); Thinking likes this makes me start to yearn for a pre-processor, until I remember how much pain they can make. Dave -- Dave's Definitions: Morning, is after I've slept for more than four hours. Lunch is the second meal of the day no matter the hour of consumption. A long drive is one longer then you have last slept. Ineffable, if you don't understand I couldn't possibly explain it. _______________________________________________ To unsubscribe or change your settings, visit: http://lists.phillyonrails.org/mailman/listinfo/talk
|
|