Switch Statement Abuse vertical openness between concepts Message Chains – a.b().c().d() trainwreck Commented Out Code Requires horizontal scrolling Too Many Responsibilities variable declared far from its usage Comments Explaining Code missing legal comments Violates Command- Query Separation Missing summary comment on a public method Multiple Return Points Confusing Naming Non- searchable variable name Error codes instead of exception Code Duplication Dependent functions are far apart Catching exceptions and logging only Use of pun Deep Nesting Too many arguments (>3) Long Method large functions with nested structures Unpronounceable naming Switch Statement Abuse vertical openness between concepts Message Chains – a.b().c().d() trainwreck Commented Out Code Requires horizontal scrolling Too Many Responsibilities variable declared far from its usage Comments Explaining Code missing legal comments Violates Command- Query Separation Missing summary comment on a public method Multiple Return Points Confusing Naming Non- searchable variable name Error codes instead of exception Code Duplication Dependent functions are far apart Catching exceptions and logging only Use of pun Deep Nesting Too many arguments (>3) Long Method large functions with nested structures Unpronounceable naming
(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
vertical openness between concepts
Message Chains – a.b().c().d() trainwreck
Commented Out Code
Requires horizontal scrolling
Too Many Responsibilities
variable declared far from its usage
Comments Explaining Code
missing legal comments
Violates Command-Query Separation
Missing summary comment on a public method
Multiple Return Points
Confusing Naming
Non-searchable variable name
Error codes instead of exception
Code Duplication
Dependent functions are far apart
Catching exceptions and logging only
Use of pun
Deep Nesting
Too many arguments (>3)
Long Method
large functions with nested structures
Unpronounceable naming