News for hackers. Stuff that matters.
Re:A modern “Hello, World” program requires more than just code by stickfigure on Thursday March 05, 2020 @11:47PM (#22501059)
one or two orders of magnitude difference, in terms of LoC

LoC is the wrong benchmark. In C++ you link against a large set of libraries that have already been compiled to binary, hiding the LoC. glibc source alone is 10k files.

Javascript libraries are source instead of binary. What's the problem?

Re:A modern “Hello, World” program requires more than just code by sk0g on Friday March 06, 2020 @12:02AM (#22501114)
Yeah but lower lines of code from being able to rely on things just being there/ callable speeds things up so much!

The React CD takes a minute and a half longer than the backend one, and the back end one has testing and libraries of its own to pull as well.

Some of this comes down to SCSS, Babel etc, but most of it is built into CRA anyway