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