Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Sometimes you need to write defensive code

I read a good description of this today, it said Defensive programming is like defensive driving, you take responsibility for protecting yourself even if it's the other drivers fault. It's always a bit of conundrum for me, how defensive should I program my methods, classes because it's likely that I am the only person for quite a while to use it, so am I programming defensively for the benefit of



This post first appeared on A Funny Java Flavoured Look At The World, please read the originial post: here

Share the post

Sometimes you need to write defensive code

×

Subscribe to A Funny Java Flavoured Look At The World

Get updates delivered right to your inbox!

Thank you for your subscription

×