4 ms·
That's not true. You can call an instance method from anywhere given an object. There's just no implicit 'this' in a static method.
by jongraehl 12y ago
That's not true. You can call an instance method from anywhere given an object. There's just no implicit 'this' in a static method.
- Roboprog 12y agoEr, what's that? I seem to have lost a receiver for your message... Once you go functional, instance methods start to look like a special klugery for currying the first argument to a function. Go and Nim (for instance) hint at this more than a little, as well, with their OOP syntax. Bundling two kinds of methods within a "class" starts to feel weird when you start using individual functions.