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

This problem can definitely happen in statically typed languages too. E.g. if you write one data type in one place and read a different type in another place.

You need more than just a statically typed language to prevent it. Either you need something like an ORM or you need some clever hackery like sqlx that interrogates your schema at compile time.



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

Search: