3 ms·
> I didn't post any links and I seriously lost the thread of the conversation here Indeed, my mistake; I assumed such a response to a comment challenging "the
by nawgz 4y ago
> I didn't post any links and I seriously lost the thread of the conversation here
Indeed, my mistake; I assumed such a response to a comment challenging "the idea that Go is the correct language to write web apps with JS in" with a response like "[i]f the project is live and is serving its purpose, and if that doesn't convince you that $INSERT_LANGUAGE is the correct language" could only come from the person upstream.
That user themselves acknowledged that there isn't meaningful JS in their Go web app, which means it's NOT "serving the purpose" that we were discussing in this subtree of the thread.
> Why would you need to run a JS interpreter to be able to include JS in a website?
You usually need a language interpreter to develop features in that language, no? Developing your bundle in the browser is not known to be a high-quality workflow from the perspective of DX.
Anyways, this is all silly, people building HTML reports from non-JS languages are arguing you don't need JS to make client interactivity, naive stuff.
- pdimitar 4y agoWell, I still don't think you need JS interpreter to simply include JS in your project e.g. PHP Laravel, Elixir Phoenix et. al. serve JS assets just fine via integration with webpack, esbuild and the like.
- nawgz 4y agoSure, but this is a far cry from a bespoke Go creation - these are production grade libraries with serious dev hours backing them that are generating JS for you.