Re:New IDE: code bubbles
by jrockway on Wednesday March 10, 2010 @10:09PM
(#1182769)
I typed this into Eclipse, and it's super-awesome-excellent auto-code-writer decided that it should be:
If only there was a right-click option for "improve quality"...
[ Parent
| on HN ]
Yeah, the generated code is asinine, but what would you prefer? "Improve quality" in this case would just leave out the try/catch altogether. Is there another behavior that would be better, given that we know nothing about foo, bar, baz, or qux?