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
React vs HTML/CSS/JS is a stupendous difference, and the barrier to entry, IMO, has gone up rather than down. At the start you basically have to be told what to do, and eventually you have some control over the output, if the tools you are trusting continue doing their job. Most people will never learn how the tools they are using actually work, and the massive surface area required to cover for this understanding is a big deterrent.