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