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