Earlier quoted context omitted.
14paninta replied to this, but their comment's dead (shadowban?) - anyway, I'll repost it here and respond to it. > What does that even mean? It's nonsensical. What it means is that the situation with browsers is not much different from the situation on native platforms. CPUs support one language, the browser supports one language. And yet I don't see anyone complain about CPUs only supporting one language, because y…
> What it means is that the situation with browsers is not much different from the situation on native platforms. CPUs support one language, the browser supports one language. And yet I don't see anyone complain about CPUs only supporting one language, because you can compile anything to it. The same is true for JS, so why do people complain? Because we don't write assembly ourselves. Unless we are doing micro optimi…
JavaScript at 20
171–180 of 327 posts
Re: JavaScript at 20
#172Earlier quoted context omitted.
> I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web. While javascript has obvious flaws, nobody would ever agree on what a sane language would be. I would also say that, personally, I think that how the DOM is implemented is itself the biggest pain point of web development, not really javascript.
Lua is a sane ECMAScript in many ways.
Seriously, there have been a large number of compatible ECMAScript implementations, which still astounds me because that is no easy feat.
Re: JavaScript at 20
#173If you're interested in learning ES6 basics in 20 minutes, this is a great starting point: https://github.com/lukehoban/es6features Check out this repo, if you have a "little more" free time: https://github.com/ericdouglas/ES6-Learning To be honest, I used to dislike JS not so long ago - it was hard to debug, I had to use strange conventions to write OO code etc. But after learning more about the ES6, react/flux, nod…
Re: JavaScript at 20
#174JavaScript is like English. It incorporates the best parts of other languages. Starting from Java, you can now see the clear influence of Python in ES6/7 with generators and string templates. I think this is JS's greatest asset.
Re: JavaScript at 20
#175I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web. It's startling how much energy is spent to work around its bad design every day and it's not getting any better, people are just getting used to it (which is akin to voluntarily agree with having most of one's brain blown off). Even seeing Brendan showing off that he hacked the language in 10 days makes me sick to th…
>I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web You got it. ES6, ES7 are making JS look better and better.
Re: JavaScript at 20
#176I just wish the best language would win, not the accidentally ubiquitous one. And giving a real choice of language would been even better.
> And giving a real choice of language would been even better. You have a real choice of language! You can use any language you like, and compile to JS. Or are you going to complain that x86 CPUs provide no "real choice of language", offering only x86 assembly?
There are no optimizations missing from x86 so complaining about it is pointless.
Especially given the improvements in sandboxing having a more powerful underlying language could improve things (note that this doesn't mean it needs access to the API of the underlying OS, which is where Java got itself in trouble).
Re: JavaScript at 20
#177I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web. It's startling how much energy is spent to work around its bad design every day and it's not getting any better, people are just getting used to it (which is akin to voluntarily agree with having most of one's brain blown off). Even seeing Brendan showing off that he hacked the language in 10 days makes me sick to th…
I struggle with a couple different tools that were developed in weeks or a couple months or on a plane ride. Every time these guys brag about how quickly they put together the first version I just want to say to them, "yeah, we can all tell. And every day we suffer for it."
He is now spending a huge amount of time trying to fix his mistakes, so perhaps he suffers more than most...
Re: JavaScript at 20
#178Earlier quoted context omitted.
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.
If 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.
Re: JavaScript at 20
#179Every single presentation of Brendan has this "I made this in 10 days" thing, super annoying. JavaScript is a great example how your career can go pretty well if you're good at selling what you're building, even if it's not very good. This isn't meant as a "JavaScript sucks" type of comment, but as a "being good at presenting your work is really important" type of comment. Too many really strong engineers aren't good…