Checkstyle AvoidNestedBlocksCheck

Stefan Marr java at stefan-marr.de
Thu Dec 8 15:40:01 UTC 2016


Hi:

> On 8 Dec 2016, at 16:22, Andrew Haley <aph at redhat.com> wrote:
> 
> Sure, I can do that, but I'm wondering whether any contributors
> believe the rule should be enforced.  It seems to me to be a perverse
> rule that enforces bad coding practices, but I guess someone somewhere
> must like it.

Can you give a name to the block?

If so, it might improve readability to break out such blocks into methods consistently.

Looking from that angle, I’d think there is value in the style rule.

Best regards
Stefan


-- 
Stefan Marr
Johannes Kepler Universität Linz
http://stefan-marr.de/research/





More information about the graal-dev mailing list