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

Minor nitpicking:

> unlike in Java, you can also call a class method on an instance

It's possible in Java, too. It's just considered bad practice.

Still, a very nice read!



I'd say if you have to do that, it is most likely because you have a design problem somewhere. It is a code smell in Python as well.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: