Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you think about it, it's the mirrored version of python object/class methods: they receive the object (self) / class (cls) as the first parameter. Same with Rust's trait impl's methods.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: