4 ms·
I don't believe that someone needs to have a solution in order to observe that there is a problem. The resources available to an individual for creating and re
by arbsn 11y ago
I don't believe that someone needs to have a solution in order to observe that there is a problem.
The resources available to an individual for creating and reasoning are finite, and as long as one is able to give good reasons why they know that there is a better way, "there is a problem" may still be valuable information.
- swsieber 11y agoIf it wasn't widely know that Javascript is a problem, then merely observing that it's a problem instead of trying to provide a solution would be useful. But it's a widely known problem and so complaining does nothing useful. Essentially, at this point in the game, complaining is useless rehashing of a beaten horse.
- mozumder 11y agoThere's a whole world of problems to fix before you even get to the problem of Javascript. Right now, the world only has 3.5 base browser engines. Those browser developers have no interest in adding a new standard language like Python, even though more people prefer that to Javascript. So, if you were to develop a new browser language, you need to build a new browser from scratch, and then move a billion people to it.
- cmdrfred 11y agoMan, python on the server and in the browser. What a world that would be.
- Ygg2 11y agoFilled with version problems :P Oh, you got Python 6, well we have Python 8 which breaks your code in subtle ways.
- coderzach 11y ago2.7 or 3?
- wldcordeiro 11y ago3.4+ would be preferable.
- cmdrfred 11y agoWhy not both? Though the difference between the two is over hyped in my opinion. Most of the time its rather easy to go back and forth.
- wwweston 11y ago> Man, python on the server and in the browser. What a world that would be. If you're going to imagine that as a utopian alternative to JS, be sure to be thorough about it and imagine 1995 Python dominating the browser landscape for years and then the advancement path the language has taken on the server playing out among several browsers. Then come back and tell everybody how much prettier it looks than JS (for bonus points, how much prettier than ES6). While we're at it, as a general rant... I think it's weird that Python keeps coming up in these conversations. It's a nice language, it really is. But it's in the same paradigm set and productivity class with JavaScript, Ruby, and Perl (and to a lesser extent, even PHP). The differences between these languages aren't that big and they're largely aesthetic. If you prefer it, that's fine. If you find its particular set of choices aggregate some nice marginal gains to some additional productivity over the other languages I've listed in this class, I might even think that's a credible argument. But if you can't get past the sting from JS's warts and learn to be largely as effective in it as you are in Python -- or if you think the real solution moving forward is to turn the entire fleet of supertankers involved in the web for retooling to use a language that's not that different -- I think that you're not thinking about your tools particularly keenly or carefully.
- lee 11y ago> The differences between these languages aren't that big and they're largely aesthetic. They are pretty big. At work I work on a Django-backed project that has a very fat JavaScript front-end client, and JavaScript is incredibly painful to work with compared to Python. It's not merely aesthetics, but JavaScript in the browser is severely lacking in language features that allow it to scale to larger code-bases.
- BrendanEich 11y agoUse ES6 via http://babeljs.io/ http://babeljs.io/ already, and be happy :-P.
- girvo 11y agoDefinitely! Though, unit-testing becomes interesting, as `rewire`, `proxyquire` and other ways of changing the dependencies inside your modules when they are `import`-ed breaks. However, it turns out having an AST of your Javascript code is really useful, and lets you do things like this: https://github.com/speedskater/babel-plugin-rewire https://github.com/speedskater/babel-plugin-rewire
- shurcooL 11y agoIn all my personal projects, I write Go on server and Go in the frontend. It is a very nice, although less populated world.
- hoprocker 11y agoTa.....da? http://pyjs.org/ http://pyjs.org/
- cmdrfred 11y agoI'll have to look at this.
- WorldWideWayne 11y agoI'm fairly certain that complaining works, even if it's not constructive. When enough people complain about something over and over, it builds pressure to change. So I say keep complaining folks!
- knightofmars 11y ago"Or at a minimum present a well thought out and actionable direction towards the solution."