Re: "Tricks" of the "Trade"
Re: "Tricks" of the "Trade"
- Subject: Re: "Tricks" of the "Trade"
- From: Erik Thorteran <email@hidden>
- Date: Thu, 7 Jun 2001 00:36:22 -0700
I will have to admit, I am still in C mode, I'm getting the hang of it
though...
6. Use subroutines, even inline ones if necessary, it removes clutter
from each source code file, and spreads it out.
The drawback of this is that it breaks the Object Oriented paradigm. I
only do this when performance is a big issue.
BTW Inline functions are truly cool, because they are like #defines,
except much more powerful. I guess I just hate scrolling through one
source code file that is miles long, I guess I could use categories, but
then again, then the main class cannot access the methods in the
categories.