3 ms·
Nice, I didn't know that CoffeeScript has a shorthand for .prototype. So, to revise my point: with "proper" classes (i.e. Java or C++) this wouldn't be possibl
by phoboslab 15y ago
Nice, I didn't know that CoffeeScript has a shorthand for .prototype.
So, to revise my point: with "proper" classes (i.e. Java or C++) this wouldn't be possible, or at least more complicated and not the way to do things. Classes are not the ultimate solution and it's a good thing that Go tries a different approach to OOP.