Hacker News new | ask | show | jobs
by brc 4484 days ago
Defense, defense, defense. Your code should be peppered with checks that should never go wrong. You should feel stupid writing them.

They will save you a lot of headache one day.

Really the only way to get better is to write stuff and ship it to someone who uses it, and you have to experience the pain of supporting it. That's when all the important lessons are learned.