|
|
|
|
|
by Koromix
3590 days ago
|
|
> OO, dynamism, late binding None of these are required for ease of development. At least the first two often result in precisely the opposite. HLLs are not required to focus on slow abstractions. For example, homogeneous arrays of tagged unions can replace inheritance most of the time. And they avoid breaking your code in 10 files and 20 classes (though for some reason this metric is seen as a good thing way too often). |
|
And while I don't set much store by inheritance, it set considerably more store by duck-typing and polymorphism.
>None of these are required for ease of development. At least the first two often result in precisely the opposite.
So are you talking about Java-style OO? Because I was talking about Smalltalk OO, which is pretty different.
Required, no, but they're tools, and they come in handy. Certainly make development a lot more comfortable.
And some of the time, they make delvelopment a lot easier.