News for hackers. Stuff that matters.
Re:In web design, everything easy is hard again by baq on Saturday February 10, 2018 @06:57AM (#16346948)
this is all wrong, sorry.

modern js is still js. the fact that linters are _required_ to keep code sane is proof enough. typescript is a different language, i'd wager it doesn't count, even though i agree it's a considerable improvement.

au contraire, many developers know exactly what programming in js looks like, especially compared to other languages. i used to think that c++ and boost compilation was crazy. now i look at glorified web pages with 200MB+ of dependencies and wonder how we got there.

i agree that js was a perfect choice for node.js, because it was the only choice for node.js - to use the same language that runs in the client. that doesn't make it a good - or even sane - choice in the greater perspective. python was and still is a good choice - twisted was used to create async services before ajax was a word. you can also take a guess from where the promise/deferred pattern took at least some of its inspiration.

Re:In web design, everything easy is hard again by yoodenvranx on Saturday February 10, 2018 @09:05AM (#16347302)
> wonder how we got there

I fully blame the virtually non-existant standard build- and module system in C/C++/JS for a lot of the current problems.

This is one of the reason I really want to learn Rust. Compared to make/npm/gulp its infrastructure looks heavenly.

Re:In web design, everything easy is hard again by nawitus on Saturday February 10, 2018 @12:52PM (#16348482)
> python was and still is a good choice - twisted was used to create async services before ajax was a word.

Async was not part of the core language when Node.js was first released. Even today the library ecosystem of Python is fragmented, not everything works asynchronously.

Re:In web design, everything easy is hard again by bryanrasmussen on Saturday February 10, 2018 @08:41AM (#16347240)
What language do you use that does not have a linter?
Re:In web design, everything easy is hard again by rwaldron on Saturday February 10, 2018 @03:04PM (#16349285)
"linting" is subjective, preferential—not required.

Python built linting into the language itself and it's super annoying.