2 ms·
I love lexically scoped modules. Its like global functions, but without the complexity. Node.js got this right, where modules are like an extension of the stand
by z3t4 7y ago
I love lexically scoped modules. Its like global functions, but without the complexity. Node.js got this right, where modules are like an extension of the standard lib (node.js framework) too bad its too slow. But in compiled languages like for example D there is no performance penalty!
Some programmers make fun of small pure functions/modules ... Then they cut their own code up into tiny small pieces that all depend on each other, without any reusability.