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