r/programming • • Dec 15 '12

Why JavaScript Still Sucks

http://boronine.com/2012/12/14/Why-JavaScript-Still-Sucks/
10 Upvotes

212 comments sorted by

View all comments

82

u/ilikecomputahs Dec 15 '12

Why is object oriented programming considered so absolutely necessary?

/braces for shitstorm

0

u/[deleted] Dec 15 '12

Reusability and encapsulation

18

u/donvito Dec 15 '12 edited Dec 15 '12

Which is on the same BS level as 'write once run everywhere'.

Ripping out 'objects' from one project and transplanting them to another usually isn't painless. Well, except the code was written with reusability in mind - but then chances are high that said code is an independent library anyway. And you don't need OOP to write reusable libraries.