News for hackers. Stuff that matters.
Re:Why Learning Angular 2 Was Excruciating by flukus on Monday September 19, 2016 @11:30PM (#12536816)
> Writing UI code is hard, and I'm not sure why some HN folks assume web developers are ignorant.

Probably because every feature you listed was achievable before react.

Re:Why Learning Angular 2 Was Excruciating by gaastonsr on Monday September 19, 2016 @11:59PM (#12536950)
I just want to hear your answer with one of those...

How did you do type checking before TypeScript (or the like) in JS? give me a real answer.......

Re:Why Learning Angular 2 Was Excruciating by flukus on Tuesday September 20, 2016 @12:21AM (#12537031)
I didn't, and you didn't mention type checking above.

One very common way though was to avoid the need for it altogether in javascript, by rendering html on the server.

Re:Why Learning Angular 2 Was Excruciating by ng12 on Tuesday September 20, 2016 @12:22AM (#12537039)
That's a different poster, and I did mention it above.

What does server-side rendering have to do with Typescript? Are you advocating avoiding javascript all together?

Re:Why Learning Angular 2 Was Excruciating by flukus on Tuesday September 20, 2016 @12:36AM (#12537099)
Sorry, I missed that, I was replying to the parent comment only.

But yes, I do advocate avoiding javascript altogether whenever possible (which is more often than current trends). There were a number of other transpilers too, all of which were a pain and I don't see how typescript is going to improve on that.

Re:Why Learning Angular 2 Was Excruciating by ng12 on Tuesday September 20, 2016 @12:20AM (#12537026)
I actually regret writing out such a detailed reply. Congratulations, you're a top HN troll.
Re:Why Learning Angular 2 Was Excruciating by gaastonsr on Tuesday September 20, 2016 @08:02PM (#12544396)
Great answer. Sometimes I hate HN for people like above.