r/programming • • Jul 18 '16

Web programming is getting unnecessarily complicated

http://en.arguman.org/web-programming-is-getting-unnecessarily-complicated
324 Upvotes

258 comments sorted by

View all comments

Show parent comment

1

u/tdammers Jul 19 '16

Threading model (great until you hit the cases where it's inappropriate; luckily, those are rare) and the callback paradigm (no, promises are not awesome, they're barely enough to avoid goong crazy entirely) would be my top candidates. Lack of a type system is another, but TypeScript looks like a reasonable mitigation approach.

1

u/jocull Jul 20 '16

Many transpilers have or are adding async/await which I'm hoping will deal with some of the promise craziness that can ensue when you have to flip your problems upside down. TypeScript 2.1 will have these and will be able to target ES3+ with them I believe