Message from JavaScript discussions

November 2017

— Closures are a form of dependency, better to make most things explicit


Is much better than:
createLogWriter() // calls require('fs') internally

— ?

— Since when did non-determinism enter the stage? Optional modules? That's waay different than what I'm talking about

Message permanent page

— Okay

— Yes, that still makes it a dependency

— What's your point?

— It can reduce both size and dependency

— For the sake of this discussion, vulnerability == dependency

— In an hour I can write up a comprehensive example

— Module systems are imho overkill for most web sites. Oh and webapps that take minutes to load are shit anyways, regardless of whether they use a module system or not. Imo module systems are just convenient, not more and not less

Message permanent page

— I'm not saying it will be less code