meltedwires.com
Managing the heap using SOQL For Loops (with a little code seperation)
I’m a big fan of code separation and code reuse. When I’m coding I like to keep my SOQL out of the business logic and in a gateway class of its own. That way I can reuse common queries …