3 ms·
I guess the thing I'm harping on is shawnz saying that javascript is INHERENTLY functional. I think it's possible to write javascript in a functional way: Und
by tieTYT 13y ago
I guess the thing I'm harping on is shawnz saying that javascript is INHERENTLY functional. I think it's possible to write javascript in a functional way: Underscore.js is a perfect example of that. But I wouldn't say it's INHERENT of javascript.
I think javascript is INHERENTLY object oriented/imperative but can be functional if you put some effort into it.
- nijk 13y agoJS isn't inherenttly OO. Crockford wrote a whole book chapter on twisting JS into make it OO. JavaScript is inherently a blurry mess, and intentional but hacky hybrid of Scheme and C-style.