Hacker News new | comments | show | ask | jobs | submit login

> If you run this through closure-compiler it's reduced to 2000 lines > which is nothing next to Underscore, jQuery, Dojo, etc.

jQuery is 9000 lines, uncompressed with all the comments.

I call that about the same order of magnitude as the things you mention, hardly "next to nothing".

Additionally, just about every line in jQuery is actually useful for something, even the optimized code seems to mostly consist of a whole load of getters and setters and definitions of what addition and multiplication does.

> I haven't looked into the language yet and unless you haven't either let's all refrain from judgements based on this silly metric alone.

Lines of code stops being a "silly metric" when the numbers get really big, as they do here.

> Don't get me started on the whining about math performance. Reminds me of dinosaurs whining about how assembly is better than C is better than Java is better than.... There is more to software development than math.

Surely you didn't mean "There is more to software development than performance." :-)

Easy to pick off "math". But is this stuff not supposed to run in a browser? I'll reconsider when I see a simple application running smoothly on a cheap 3 year old desktop PC.

No, a Hello World program that compiles to 170kloc is what is ridiculous. That you can optimize it to 2kloc is nice, but it's still just a Hello World program.

And a more serious program, how big would that be?




  > "There is more to software development than performance." 
On the other hand, development is all about performance.

It's just a matter of what we mean by "performance". Time to run? Time to develop? Adoption rate? Income generated? Fame?

Software is always about doing something better. The controversy comes when we try to evaluate "better."




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: