Hacker News new | past | comments | ask | show | jobs | submit login

As oppose to a zero cost build time check, that's 3 expensive runtime DB checks, plus an account and a member could have the same ID, so it might run anyways but on the wrong DB rows.



You made two points that are correct in theory, but in practice those lookups would/could take micro-seconds, and the bug would be detected within minutes in a production environment. And it would take five minutes or less to patch.


If you're cowboy coding as a solo dev, sure.


We could argue if having 1-3 code cowboys is better then a large team. If the code cowboys can produce higher quality, quicker. They will be difficult to replace after many years though.




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

Search: