Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



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.......


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.


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?


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.


I actually regret writing out such a detailed reply. Congratulations, you're a top HN troll.


Great answer. Sometimes I hate HN for people like above.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: