3 ms·
Interestingly, javascript fits the description very well: good balance between OO and functional :)
by ricardobeat 15y ago
Interestingly, javascript fits the description very well: good balance between OO and functional :)
- nxn 15y agoHmm, I don't think I ever consciously recognized this about JavaScript before. Even when I focus on the functional sides by using functions for namespacing, constructors (I avoid 'new'), scoping, and limiting external access, objects still cooperate nicely and feel natural. This says a lot, because even in F#, which was designed to work well with OOP, mixing the two doesn't seem to produce a nice blend for me.