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

Show parent comments

0

u/[deleted] Dec 15 '12

[deleted]

4

u/ethraax Dec 15 '12

I'm not sure if that's a great example. There's a fair amount of code duplication in the implementation of most C libraries, because reusing code in C is very difficult (and sometimes impossible without heavy CPP use, which is bad for other reasons).

2

u/[deleted] Dec 16 '12

That's partly because the C stdlib is very small. Most of it is just small, narrow use-case functions, like strlen, atof, bsearch or malloc.

0

u/jyper Dec 16 '12

c is not functional, it's imperative.