Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pyre
on May 29, 2012
|
parent
|
context
|
favorite
| on:
Why I Use Perl: Reliability
You can partially unpack in Python too:
def method(self, *args): a, b = args[:2] super(self).method(*args[:2])
Perl's lack of using the definition for the variables doesn't necessarily make it 'more powerful.'
chromatic
on May 30, 2012
[–]
Python's approach is very reasonable. Both Perl and Python are nicer than C varargs.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: