Open GoogleCodeExporter opened 8 years ago
Checked in a change not to report issues for main() methods.
I think you should still be avoiding big costs in main, though. If you call a
bunch
of new's, that's ok, as long as you don't call the expensive methods on those
objects. If you create the object graph, then call the start() method on one of
them,
everything can still be nice and testable since there is a seam even for the
object
with the start().
In fact, I'm concerned that having a high cost, but then not reporting an issue
for
it, will be misleading on the issues report. So we should just decide one way
or the
other.
Original comment by aeagle22206
on 31 Mar 2009 at 2:55
Original comment by aeagle22206
on 31 Mar 2009 at 2:55
Original issue reported on code.google.com by
shyamseshadri
on 27 Mar 2009 at 8:07