New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forbid nested Switches #249

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

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

This comment has been minimized.

Show comment
Hide comment
@romani

romani Mar 2, 2015

Member

assigned to @damianszczepanik

Member

romani commented Mar 2, 2015

assigned to @damianszczepanik

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani Mar 19, 2015

Member

fixed.

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