It is optimized for time to market and low cost. JS devs are a lot cheaper than the alternatives and the output (crappy and bloated as it is) runs ok-ish on most platforms without much effort if you have a new-ish fast computer with lots of cores, an SSD and 32+GB RAM, which most of the developers and execs ofc do. The end user on the other hand often uses a device that's a lot slower and/or older and are often running lots of these turd apps at the same time eating up ressources and bogging their system down. Fuckers should be forced to use a 5 year old laptop with 4GB of ram a few days a week 😆
I like the Go approach more where they suggest against importing dependencies for simple functionality that can be copypasted or written better.
How do you write mobile apps in Go?
There are some ways [1], but I didn't mean that. I meant more generally Go as a programming language has that culture that's instilled in the initial Go documentation (and talks from Rob Pike...). 1) While there are some libraries to do mobile UI in Go, they are not great, but often you deploy Go code onto mobile phones wrapped in another language. For example multiple lightning wallets include lnd, which is writen in Go.
We’re not comparing the same things. I agree Go is generally more lightweight, but it’s not often used for the same kind of software.
I'm comparing the DRY ideology that's heavily applied in the JavaScript and npm world to the Go ideology pushed by Rob Pike and Ken Thompson. https://medium.com/@scott.boring.sb/dont-write-reusable-code-a857e925b683
And then there's https://www.npmjs.com/package/is-even 😆 Any good ressources to get started with go you would recommend? I primarily do js, python and php at the moment, want to broaden my horizon a bit