Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
panzi
on Jan 5, 2015
|
parent
|
context
|
favorite
| on:
Self Hell in Python
But then getting a reference to a bound method is simpler in Python: bound_method = object.method
In JavaScript one would have to write: var bound_method = object.method.bind(object);
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In JavaScript one would have to write: var bound_method = object.method.bind(object);