Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
phaylon
on Dec 10, 2011
|
parent
|
context
|
favorite
| on:
Porting to Python 3: An offer for you
The new developments in Perl syntax mostly solve this by having an explicit separator for invocant specification:
method foo ($bar, $baz) { ... }
has $self, $bar and $baz, while
method foo ($class: $bar, $baz) { ... }
has $class, $bar and $baz.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: