Hacker News new | ask | show | jobs
by ajuc 5126 days ago
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;