:-$

Ryan's work blog

My Links

News

The WeatherPixie
Subscribe with Bloglines
About this blog

Tools I use:

Post Categories

Article Categories

Archives

Image Galleries

Blog Stats

Personal

Projects

Random Blogs

Random other

Reference

Web comics

Work

Theoden's code tips #2

Since Theoden is getting a new job that doesn't involve legacy code, I've been going through my chat logs to pick out more. This tip came in on 2/26/2004.
if you have a logical grouping of business logic, split the logic into two separate functions. Like so:
 eoc_check_toxicity()
 eoc_toxicity_checks() 
that way if you accidentally delete one of the functions, at least some of the logic will still be there

posted on Friday, January 07, 2005 2:45 PM