News for hackers. Stuff that matters.
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by Jacobi on Monday June 04, 2012 @06:48AM (#4063381)
JavaScript lacks a real library/module system, namespaces and OOP facilities. I usually spend more time maintaining a JavaScript program than a program written in Java/C# with equivalent size. That being said, my skills in JavaScript are limited.
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by factorialboy on Monday June 04, 2012 @07:18AM (#4063466)
Umm .. On the server, node_modules / NPM driven modular system (AMD) works quite well. RequireJS can be used on the client as well.
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by ajuc on Monday June 04, 2012 @07:54AM (#4063569)
I especially like the fact, that "importing" module in node returns imported module, instead of putting it into namespace like it does in Java. It's much better design.

   var myModule = require('./module');
instead of

   import com.company.module.Sth;
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by yaz on Monday June 04, 2012 @06:56AM (#4063407)
What's wrong with using dojo for a module system, namespaces and OOP?
Re:Anders Hejlsberg: You Can't Maintain Large Programs in Ja... by Jacobi on Monday June 04, 2012 @07:16AM (#4063453)
You can do OOP in any langage and there is nothing wrong with dojo. But from my limited experience, maintaining large programs written in JavaScript is a tedious job (each program reinvent it's own OOP semantics)