6 ms·
Ask HN: Is anyone else just tired of JavaScript?
I don't see what problems it solves. Rather, the "problems" that is solves are not really problems to me. I want to develop software in a stack that is entirely free of Javascript. Does anyone else ever feel this way?
- braderhart 8y agoJavaScript is slowing down and at times actually reversing innovation.
- collyw 8y agoYes. I am maintaining an Anglaur app just now. What a waste of effort. Everything would have been so much simpler if it was kept server side. Instead we have a ton of duplicated logic.
- allover 8y agoStating the obvious, but that's the fault of whoever decided to do it in Angular and didn't understand the trade-offs of single page apps. If an app can be just as easily (or more easily) implemented server-side with no 'relevant' impact on UX, it probably should be.
- collyw 8y agoIt does give a bit more interactivity, but had it been up to me the majority of the logic would be server side with a bit of client side JavaScript. The amount of duplicated code for a very small amount of extra interactivity really doesn't seem worth the effort to me.
- transfire 8y agoI believe that's why Web Assembly (https://webassembly.org/ https://webassembly.org/) has been created. Eventually we will be able to use any language that can compile to Wasm.
- v_lisivka 8y agoRight now we can use any language which can be compiled to JavaScript. What will change? Wasm is not faster than JS.
- tathougies 8y agoFor one thing, web assembly's architecture more closely matches the traditional backends that language designers are familiar with. Compiling to code to a byte code is a pretty much solved problem, and we have compilers that do this. Finally, while web assembly may not be faster than JS (although that really remains to be seen), it is faster to load.
- williamxd3 8y agoWait till you need to load a hundred binary dependencies and see if will load faster
- v_lisivka 8y agoAFAIK, today compilers are producing both asm.js code and Webasm binary. Webasm is for tomorrow, asm.js is for actual use, because it's backward compatible with any JS enabled browser. Webasm is not so compatible. I tried to run random demo and got error message: CompileError: wasm validation error: at offset 8: binary version 0xd does not match expected version 0x1. WTF? I tested https://webassembly.org/demo/Tanks/ https://webassembly.org/demo/Tanks/ demo, and on my system (Firefox, Fedora Linux 26), asm.js version is a bit faster to load than Webasm version. (Turn off support for Webasm in about:config to test). Asm.js: 1.57s to load from cache, Wasm: 1.82s to load from cache. So what will happen when webasm finally more closely match traditional backends?
- thoughtpalette 8y agoI'm actually more excited than I have ever been in the JS ecosystem. Sure, there's framework fatigue, but ES6+ features have been a pleasure to learn and use, and picking up Typescript has been a serious boon to a more OO style approach to client side engineering. The previous two years have been refreshing.
- wintorez 8y agoI don't care about JavaScript, but I love browsers as platforms; and as long as JavaScript is the de-facto language of the browsers, it will remain an important language.
- madballneek 8y agoMy browser has essentially become my OS (ignoring gaming) Hell, I could even accomplish 95% of my software dev job fully within a browser with online IDEs like Cloud9.
- stesch 8y agoJavaScript itself isn't the problem. The ecosystem is the problem. There is so much bad stuff out there that I stop reading articles about hot new software when they mention npm.
- glifchits 8y agoThis is really vague. Javascript is necessary for building rich web applications. What are the uninteresting problems you see as Javascript's main purpose?
- rhapsodic 8y ago>I don't see what problems it solves. Rather, the "problems" that is solves are not really problems to me. Then why do you use it?
- jcadam 8y ago> I don't see what problems it solves. It solves the problem of forcing a medium that was originally intended for documents and presenting information(the www) to support rich, interactive applications. The whole html/css/js thing is a giant, ugly kludge, but it's what we're stuck with.
- khedoros1 8y agoIt solves the problem of "browsers need some form of embedded programming language". From there, it makes some degree of sense to also use it in the backend, to avoid multiple programming languages in the same codebase. On the other hand, I've never written anything in Javascript. Maybe I'd have a lower opinion of it if my stack made heavy use of it.
- harel 8y agoNo. Quite awake actually. JavaScript opens up a world of possibilities you cannot do with just HTML. It's the current platform of the browser app. If you are happy with static websites, that's great. Most people are not.
- tathougies 8y agoI mean... you could replace javascript with any other programming language and achieve the same thing. The choice of javascript as the language with which to access the standardized APIs is arbitrary. Browsers could have equivalently chosen any other sufficiently similar language, like Lua or Python.
- williamxd3 8y agoIf it wasn't because of Java the browsers language would be Scheme
- tathougies 8y ago> the browsers language would be Scheme And the world would be 10000 times better off for it.
- williamxd3 8y agowounder if people would still complain
- harel 8y agoOf course they would. About the same things, in the same way.
- harel 8y agoYou can still do that. There are many languages that compile to Javascript though I never saw the point in those (mostly because I'm very comfortable with JavaScript as a language)
- Grazester 8y agoI feel the same way(js is fine for tying together a wbepage however). I am now rewriting a startup's entire platform from PHP to js for no good reason. They claim they can't find any decent PHP developers and that js developers are easier to come by, yet here I am a PHP developer that has never wrote js outside the browser doing their js work?? Makes no sense.
- holografix 8y agoTime to re-skill?
- williamxd3 8y agoI cant find any aspect of PHP being better than JavaScript
- simion314 8y agoMy problem is not as much with the language but with the entire platform, I would like the DOM to evolve too, so far only the language was updated. As a small example I would like to have a built-in dropdown/select that I can css it to my needs then to create my own using nested divs or use one made by others that may have corner cases or is not efficient. I would also like some standard ways to show a modal, basically more standard APIs to be added to address the most needed things.
- pier25 8y agoTo be fair, the language is in better shape today than it has ever been. The ecosystem, that is another matter. Personally I'd love to completely ditch JavaScript. I'm eagerly following the progress of WebAssembly. I'm certain in 5 to 10 years the majority of front end dev will not be done in JavaScript.
- aurelius83 8y agoJavaScript allows you to develop better UX for the user. Allowing for near-instantaneous feedback to the user.
- SurrealSoul 8y agoES7 and ES8 along with typescript are keeping things fresh IMO
- alexandernst 8y agoI’m tired of all the webpack crap, the endless battle of trying to match all its required plugins versions, 10000gb of node_modules and so on...
- williamxd3 8y agoIgnoring the browser side, show me a language that can do what nodejs can, as good as it can
- ThorinJacobs 8y agoTired of JavaScript? Not particularly. Tired of the #hype around JavaScript and more specifically the constant frameworks of the week? Absolutely. I don't think this is a problem unique to JavaScript, however. We see the same sort of thing around technologies. Right now it's ML and Blockchain, earlier it was Cloud and IOT. The industry in general appears to be mostly built on inventing problems that can be solved by the tech, framework, etc. rather than leveraging technology to solve an existing problem. This may be part of why you're having a hard time finding the problems JavaScript may solve for you. Personally, I find it much easier to follow the "Just In Time Learning" model https://blog.codinghorror.com/keeping-up-and-just-in-time-learning/ https://blog.codinghorror.com/keeping-up-and-just-in-time-le.... Find out what parts you need in order to solve your problems, learn how they work, and leave the rest until you need it.
- williamxd3 8y agoAnd I am tired of the "tired of JavaScript hype and new frameworks every week" speech. It has a huge community, of course there will be new things created every week. But, if it as bad you will not even hear about it, if you hear it is probably good or better on some aspects compared to others, who doesn't want that? do everyone wanted to be stuck with MooTools or JQuery forever?
- bluewalt 8y agoThe major problem is that when you learn something in this current crazy JS/Front world, your knowledge is deprecated 6 months later. I know a developer should always stay up to date with technology by constantly learning, but if I compare what I learned 5 years ago in Python, I would say 95% is still relevant today. But if I look at the JS "state-of-the-art" stack today, compared to the 2 years old, it's completely different. It's very frustrating to invest time and effort to learn something and then hear recruiters tell you things like: "Hmmm no one uses that anymore".
- williamxd3 8y agoMaybe because there is no need to evolve there? I mean, you can see clearly why we came from jQuery, to AngularJs, then Angular/React/Vue, there was a need.
- jrb2018 8y agoI once had to implement excel-equivalent UI functionality (resizable columns, etc) - using javascript - which needed to be compatible on both Netscape and Internet Explorer. Early 2000s, before jQuery or even prototype.js. Which is another way of saying, don't talk to me about being tired of javascript...
- handbanana 8y agoSometimes, but then I do some work in Java/.NET and part of me wishes I was using express/rails/django or something else lightweight. The grass is always greener
- yoav 8y agoNo
- pacomerh 8y agonot tired about JS, but in some cases I don't like that we keep reinventing libraries (for whatever reason), instead of contributing to existing ones to make them better.
- slavsquatch 8y agoYes. I'm tired of people getting so excited about using such a sub-par language in X environment.