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

What js in browser is missing is something that golang provided on the server - fast, simple (and more standard) way of writing and executing code, including large code bases.

Typesafety is a small part of it and I’m not sure whether switching or choosing entire dev tooling based on just that is worth it. Just structure your code better and use react prop types and most of type issues go away, in react code bases.



Prop-types is for runtime, TS does static type checking. Prop-types are terribly verbose and only work with React (what about utils files, external libraries, etc?).




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

Search: