|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PhillyOnRails] Ruby-Presenters and Non-ruby presenters?
|
- From: "David Bogus" <davidbogus@gmail.com>
- To: talk@phillyonrails.org
- Subject: Re: [PhillyOnRails] Ruby-Presenters and Non-ruby presenters?
- Date: Wed, 19 Sep 2007 10:49:37 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9gh2OdiGTmtpGQ1C0ETB5jgyzDUPYIwqNLLVPlV/S3w=; b=hskLfzWWhd8itX5mf/XfoU/7FcoWu1pnOCRAsUjMnoKyg64zhjJ//0IZMGhqfSo9nK8KZDYBNKSAOY9IDeJgt3Yq1ToOBkYFXU2751cLMe+8lZAzrNZ30s5keXVII2mQMBoomp73zus8i8ymXwzh/K3lJ+9hZP+a2wdIeKLr1MY=
- List-archive: <http://lists.phillyonrails.org/pipermail/talk>
- Reply-to: talk@phillyonrails.org
- Sender: talk-bounces@phillyonrails.org
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
|
|