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