News for hackers. Stuff that matters.
Re:Ruby style guide by desistartups on Wednesday April 15, 2009 @10:18AM (#563477)
Defensive programming should be done like a process. Start with all the checks in your code and finally move the checks to a centralized place so that you have reliable exit.

For example, I would had a stored procedure for validating the data.

Or I would have made the smartest decision of using Postgres and live happily there after.

Re:Ruby style guide by trezor on Wednesday April 15, 2009 @01:06PM (#563779)
For example, I would had a stored procedure for validating the data. Or I would have made the smartest decision of using Postgres and live happily there after.

How does using a decent DB remove the usefulness of stored procedures?