Re:Class Hierarchies? Don't Do That
by kazagistar on Monday March 31, 2014 @11:39AM
(#7502128)
You seem to be under the impression that those are somehow mutually exclusive.
[ Parent
| on HN ]
Re:Class Hierarchies? Don't Do That
by SideburnsOfDoom on Monday March 31, 2014 @04:14PM
(#7503815)
I'm sorry if you though so. I am not under that impression.
However as mentioned elsewhere ( https://news.ycombinator.com/item?id=7500280 ) if most of what you do to organise your code involves passing functions to functions and very little of it involves creating class hierarchies or prototype chains, it's a fair assessment that the language that you are using is more functional than OO.
The language that you are using may be a subset of the whole language, but with JavaScript that's given - you have to find the good parts or go mad trying. I was wrong about JavaScript as a whole, but maybe less so about JavaScript as it is successfully used.