Hacker News new | ask | show | jobs
by xtho 5641 days ago

    And before you ask what about a method without an object, understand that they do not exist.
Technically, there are unbound methods (i.e. methods with no object) but you can't call them.
2 comments

Technically they exist, but I think it's an oxymoron because it must be bound to be usable. To be honest, I still can't figure out a reason you'd ever use one.

Do you have an idea of when they're useful?

Perhaps more technically, unbound methods _are_ objects (as are [bound] methods, procs, etc.).
You are right of course.