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