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

Good point, but that's not always desirable. If you have strict type-checking and _aren't_ doing ser/de, it's likely not necessary (eg Rust doesn't do runtime checks).


The situation we found where it's still useful is if your app supports extension-type functionality. The 3rd parties writing extensions would ideally be type-checking during development... but they might not bother. Runtime validation becomes useful at the interfaces.




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

Search: