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

A simple typo in your SQL DDL statement can cause 'inadvertent' database changes.

Just like you have your SQL schema defined in a central place, allow only a few select developers to make changes to it, and put any changes under extra scrutiny, you do the same when the schema is defined in your application code.

'.. but what if typos' is not a valid argument. Not in 2016. You can use code reviews, tools (compilers, static type checkers) and good software engineering practices to avoid problems due to typos.



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

Search: