Hacker News new | ask | show | jobs
by robador 858 days ago
> As an example, the recently launched website for Dialogic requires about 700 JavaScript-modules, and has about 19.000 lines of code of its own. There is however a staggering amount of complexity hiding beneath: just this website alone depends on (potentially) another 1.3 million (!) lines of code in modules it uses.

This is fine.

Seriously though, that's insane.

2 comments

Author here - this figure is insane but also a bit of an exaggeration. I calculated it by running 'cloc' on the source code directory, not excluding node_modules. Many modules in there are actually unused or only used at build time. The built output (from Nuxt) that is actually run is much more compact (though partly minified so line counts are not that interesting). Also, Nuxt specifically is a bit overkill here, but greatly improved my productivity developing this website (and was chosen because it aligns with our other web applications, so less 'innovation tokens' [1]).

[1] https://boringtechnology.club

The irony is that I clicked on the website and it looks like you could make it with wordpress...
You can make anything short of million users per day ecomm with WordPress, and even that would only take a few hardy engineers willing to put on waders.