Joined June 2011
·

J. B. Rainsberger

Summerside, PEI, Canada
·
·
·

Thanks for a nicely-written tip. Even better: commit much more frequently.

Shame. I don't know how to account for the difference, and I also tend to use Ctrl+R myself more.

Posted to Easier Java object initialization over 1 year ago

I use this to create objects in tests, but I don't use it in production, at least long term, for the various reasons people have cited here.

If you want to do this in production code, then I suggest refactoring towards the Builder pattern.

Achievements
116 Karma
1,026 Total ProTip Views