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

unpopular opinion, but this just fosters my opinion that TS people just don't understand JS at all. I wish TS would just die (another currently unpopular opinion). If you want runtime type safety, go use a different language and stop trying to ruin JS, it's already the messed up crazy cousin and it doesn't need to be in-bread anymore, it's perfect the way it is!


Only writer I know who discusses pure JS patterns that embrace those its dynamism is Raganwald Braithwaite[0]. For example, most people I know would call this hacky code[1], when this is just design patterns in idiomatic, non-Java/C#-constrained JavaScript. The truth, most devs desire intellisense and/or theorycrafting that comes with static types and compilers.

[0]https://raganwald.com/

[1]https://raganwald.com/2014/04/10/mixins-forwarding-delegatio...




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

Search: