JavaScript is a functional language, but it can also be used to do Object Oriented programming. Which one is your personal favorite and why?
Select your choice :
Eric Elliot explains in his (free available) book Programming JavaScript Applications why functional programming in JavaScript is the right way.
JavaScript is just to sucky to support good OO design
Audrey M. Webb
Passionate Web Developer & Blogger
Most of the JavaScript developers will choose functional approach because JavaScript is a functional language first. Object Orientation in JavaScript seems out of place and forced. If you forcefully write OO code in JavaScript, you won't have that charm and miss all those nice functional aspects of a dynamic language. I voted for functional approach!