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