On Saturday, August 31, 2002, at 06:52 AM, Damian Conway wrote: > my Date $date = Date.new('June 25, 2002'); > >> my Date $date is now { .init 'June 25, 2002' }; > > As is that.
Yes, but this: my Really::Long::Package::Name::Ugh $date is now {.init 'June 25, 2002' }; Is shorter than this: my Really::Long::Package::Name::Ugh $date = Really::Long::Package::Name::Ugh.new( 'June 25, 2002' ); It's not the short package names like "Date" that exacerbate my tendonitis! > I'd suggest that redundancy in syntax is often a good thing and > that there's nothing actually wrong with: > > my Date $date = Date.new('June 25, 2002'); No, nothing wrong. It's just not lazy enough (and my arms will want to increase their tendonitis only by shooting you ;-)). Perhaps there could be a way to mark a variable as statically typed at compile time, and have the compiler apply the static typing so that I don't have to do all that extra typing. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]