forbid nested Switches #249

Closed
romani opened this Issue Sep 8, 2014 · 2 comments

Projects

None yet

3 participants

@romani
Member
romani commented Sep 8, 2014

Nested Switch is "good" pattern for development.

from https://www.thc.org/root/phun/unmaintain.html

The Nested Switch
(a switch within a switch) is the most difficult type of nesting for the human mind to unravel. 

Check could be done base on:
http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AbstractNestedDepthCheck.html

@romani romani added the easy label Sep 8, 2014
@AlexanderChaly AlexanderChaly was unassigned by romani Feb 26, 2015
@romani
Member
romani commented Mar 2, 2015

assigned to @damianszczepanik

@romani
Member
romani commented Mar 19, 2015

fixed.

@romani romani closed this Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment