3 ms·
Definitely misleading. I loved the example off "amount off code needed in js...". These statements make me laugh by default. Amount off code needed in these c
by xxxdarrenxxx 9y ago
Definitely misleading.
I loved the example off "amount off code needed in js...".
These statements make me laugh by default. Amount off code needed in these contexts is so relative.
U can write 3 functions, chain them as promise/callbacks, then make it an exportable module, and it becomes:
"var x = require('x');"
Wow 1 line off code, to reference all that code off the functions, and 1 or 2 more for the options/arguments.
There's an inherit complexity and amount of code needed due to the nature off "variation" and odd cases. Creating an app that does a 100 different things will likely need more code than when it does one thing.
That said, nothing stops you from decoupling it, and create a higher leveled file to create a virtual "hub", where u do nothing more than chain the modules and give args. Basically like Node.