3 ms·
> You have to set up so much I think tooling has mostly addressed this, or at least provided a mostly braindead path for 90% of needs. For example, npx create-
by Octoth0rpe 6y ago
> You have to set up so much
I think tooling has mostly addressed this, or at least provided a mostly braindead path for 90% of needs. For example, npx create-react-app $YOURAPPNAME sets up practically everything you need to get a reasonable react app going, at least in terms of the transpiler/set of plugins. It makes very few choices re: actual react libs though (no preferred router, flux, etc). The preact equivalents are somewhat more opinionated, and go a bit farther in setting up routing/splitting nicely for you.
> This makes me feel very insecure about my code.
I get this. While I stand by what I mentioned above, it also makes me nervous that I understand so little of my setup given how much of it was setup automatically for me, which makes me trust the environment less. FWIW, outside of web dev it seems like _most_ people have no idea how their setup works re: compiling a project. How many devs for say postgres understand the make file or configure scripts? Probably not that many. Maybe that's getting better with newer tools like cargo, but web dev always seemed like the exception wrt understanding the bundling environment, and we're just now catching up to the level of complexity that other types of dev have had for decades.
Edit: apparently that was a bad example. Postgres's make file is very simple: https://github.com/postgres/postgres/blob/master/Makefile https://github.com/postgres/postgres/blob/master/Makefile
The configure script is less so: https://github.com/postgres/postgres/blob/master/configure https://github.com/postgres/postgres/blob/master/configure
- boring_twenties 6y agoThat's not the real Makefile, that would be the GNUMakefile. Also pretty simple, though.