Checkstyle AvoidNestedBlocksCheck

Stefan Marr java at
Thu Dec 8 15:40:01 UTC 2016


> On 8 Dec 2016, at 16:22, Andrew Haley <aph at> 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 Marr
Johannes Kepler Universität Linz

More information about the graal-dev mailing list