News for hackers. Stuff that matters.
Re:In web design, everything easy is hard again by pleasecalllater on Saturday February 10, 2018 @06:49AM (#16346925)
Yea, modern JS... it's just a joke, no integers, still funny effects with []+[] and {}+{} and []+{} and {}+[]. Good luck with writing anything serious using such a crap.
Re:In web design, everything easy is hard again by matthewmacleod on Saturday February 10, 2018 @06:56AM (#16346943)
Modern ECMAScript is still stupid, yes. Weak typing is 100% a bad idea, and no new language would take this approach. It has, however, obviously improved to the point where it's actually quite okay to use – a modern ES7 app exploiting features like class sugar, async/await, improved syntax etc. is perfectly serviceable, alongside a linter to prevent the stupid features from old versions biting you.

But a whole bunch of 'serious' applications have obviously been written using JS, and it's a totally stupid view to think otherwise. Frankly the people who are the most concerned with 'my language is better than yours' litigation are by far the least productive developers I've encountered.

Re:In web design, everything easy is hard again by skrebbel on Saturday February 10, 2018 @06:52AM (#16346929)
Both ESLint and TypeScript solve all that. In all honesty, if you're not using tools like that I'm not sure you're doing "modern JS development". It's like complaining that modern C++ is a mess while refusing to use references and RAII.
Re:In web design, everything easy is hard again by TeMPOraL on Saturday February 10, 2018 @07:03AM (#16346967)
In C++, proper tools are part of the language. In JS, they're part of ecosystem of third party components that's changing on a weekly basis. There's a difference.
Re:In web design, everything easy is hard again by skrebbel on Saturday February 10, 2018 @07:06AM (#16346975)
ESLint was released in 2013. TypeScript in 2012. People keep complaining about this "weekly basis" stuff but really the pace has been pretty slow lately.

If you want to use constexpr in C++ you're going to have to upgrade your compiler as well, right (and, if you're unlucky, "migrate your project files" and all that mess)?

Re:In web design, everything easy is hard again by saas_co_de on Saturday February 10, 2018 @09:13AM (#16347338)
> In C++, proper tools are part of the language.

You couldn't be more wrong. The toolset that you need to develop decent C/C++ programs is massive and took decades to develop.