Switch Statement Abuse Unpronounceable naming Non- searchable variable name Missing summary comment on a public method Commented Out Code Violates Command- Query Separation Deep Nesting Long Method Requires horizontal scrolling variable declared far from its usage Code Duplication Catching exceptions and logging only Comments Explaining Code Dependent functions are far apart Multiple Return Points Message Chains – a.b().c().d() trainwreck Confusing Naming missing legal comments Too many arguments (>3) large functions with nested structures Repetitive Naming Too Many Responsibilities Error codes instead of exception vertical openness between concepts Switch Statement Abuse Unpronounceable naming Non- searchable variable name Missing summary comment on a public method Commented Out Code Violates Command- Query Separation Deep Nesting Long Method Requires horizontal scrolling variable declared far from its usage Code Duplication Catching exceptions and logging only Comments Explaining Code Dependent functions are far apart Multiple Return Points Message Chains – a.b().c().d() trainwreck Confusing Naming missing legal comments Too many arguments (>3) large functions with nested structures Repetitive Naming Too Many Responsibilities Error codes instead of exception vertical openness between concepts
(Print) Use this randomly generated list as your call list when playing the game. There is no need to say the BINGO column name. Place some kind of mark (like an X, a checkmark, a dot, tally mark, etc) on each cell as you announce it, to keep track. You can also cut out each item, place them in a bag and pull words from the bag.
Switch Statement Abuse
Unpronounceable naming
Non-searchable variable name
Missing summary comment on a public method
Commented Out Code
Violates Command-Query Separation
Deep Nesting
Long Method
Requires horizontal scrolling
variable declared far from its usage
Code Duplication
Catching exceptions and logging only
Comments Explaining Code
Dependent functions are far apart
Multiple Return Points
Message Chains – a.b().c().d() trainwreck
Confusing Naming
missing legal comments
Too many arguments (>3)
large functions with nested structures
Repetitive Naming
Too Many Responsibilities
Error codes instead of exception
vertical openness between concepts