4 ms·
Riiiight. So by that metric, C++ and Smalltalk are OOP either. What exactly is OOP in your world?
by peterashford 13y ago
Riiiight. So by that metric, C++ and Smalltalk are OOP either. What exactly is OOP in your world?
- chriswarbo 13y agoC++ isn't particularly OO. Smalltalk is, since numbers, booleans, etc. are objects, classes are objects, methods (and functions in general, known as "blocks" in Smalltalk parlance) are objects. Likewise, the only control flow mechanism is the method call. Branching (if/then/else) is a method of the boolean objects. Loops are done via the "times" method of numbers. It's turtles all the way down.