Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Recap: The Future of Perl 5by RonW (Parson) |
on Aug 27, 2018 at 20:05 UTC ( [id://1221225]=note: print w/replies, xml ) | Need Help?? |
I agree, your proposed syntax is much nicer. I did see somethings surprising. In:
you have $x instead of $self->x (likewise for $y). I found this surprising, and had to pause to think for a second or 2. How common is it in other OO languages to not need "self" to reference instance variables in instance methods? More surprising was:
where $x is also an instance variable. (Just some additional thoughts.)
In Section
Meditations
|
|