4 ms·
I urge you to use a well designed language like Elixir. And work with a well designed Framework like Phoenix. And then try to use Javascript for once. You'll se
by neya 7y ago
I urge you to use a well designed language like Elixir. And work with a well designed Framework like Phoenix. And then try to use Javascript for once. You'll see how fragile the language itself is, let alone its eco-system.
No, I'm not a JS hater, In fact I LOVE VueJS and I think you can do a lot of great things with it. For example, I built a completely offline cart system without any server backend using just VueJS. But then, between VueJS and something like LiveView, I find its infinitely easier and faster to develop on vanilla server-powered CRUD applications than SPA/JS only frontends with "serverless" backends.
With each year in web development, the complexity only seems to keep increasing to get something as simple as loading a web page fast or without refresh.
These days, I've started using LiveView and Turbolinks which basically means I have absolutely no necessity to touch Javascript at all and I can get everything done with the same language I write for my backend - Elixir. It's pretty amazing.
Much love to José and Chris.
- amelius 7y agoLanguages do not have to be "amazing" to be useful. Also, being able to use the language directly in the browser is a pretty useful property.
- neya 7y agoIt's really not genuine to label a language "useful" if it's the only option you've got.
- krapp 7y agoYes it is. Utility in a language doesn't only exist relative to other languages that target the same platform, a language can be useful on its own merits. In the case of the web, the utility of javascript comes from being able to script the DOM and execute code in a browser. If there were other languages which could also do so (as was the original intent implied by the <script> tag,) those languages would also be at least as useful as javascript.