Most Perl 6 will look like Perl 5
jon at jrock.us
Tue Jan 29 08:03:27 GMT 2008
"Paul Makepeace" <paulm at paulm.com> writes:
> When I learnt python, Template Toolkit, Java, (and and..) it took me
> about one second to understand that to deference a hash I could use,
You're clearly a genius! Why didn't anyone else think of that?
Oh, I know. Because hash keys can:
* be the result of a function evaluation
* be named the same as methods on the blessed hash (mostly a TT issue)
* contain spaces
* contain "."
Also, the Java syntax is:
foo.bar is a class attribute lookup in Java.
Also, the Python syntax is:
So basically, only TT uses the syntax above, and it's one of TT's
Thanks for playing though.
BTW, the time to whine about Perl6 syntax was about 3 years ago, and not
on the london.pm list. If the decisions upset you so much, how about
helping out with Perl6? How about discussing Perl6 on a Perl6 mailing
Or even, how about writing your own language? Then it can work exactly
how you want! It's even in the "Design Patterns" book. Enterprisey!
More information about the london.pm