On Sat, Aug 31, 2002 at 01:52:18PM +0000, Damian Conway wrote: > 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');
I would say it is not always redundant to specify the type on both sides my Dog $dog = Greyhound.new('black'); > And, furthermore, that you could easily define special semantics > for void-context constructor calls via undef'd but typed variables, > so that you could just write: > > (my Date $date).new('June 25, 2002'); So that would be creating special case syntax for a specific case of a general issue. Graham.