Duplicated code leading to maintenance issues and widespread bugs
27
New cards
Poltergeist antipattern
Short-lived classes with little responsibility
28
New cards
Blob class antipattern
One large class handling too many responsibilities (violates SRP)
29
New cards
What are symptoms of a blob class?
Many fields; Many methods; Low cohesion; High coupling
30
New cards
Frankencode antipattern
Code pieces not designed to work together but forced into one system
31
New cards
Broken windows antipattern
Small issues left unfixed lead to overall code decay
32
New cards
Duct tape coder
Focuses on quick fixes without concern for quality or maintainability
33
New cards
What are debugging principles?
Fix one thing at a time; Question assumptions; Check recent changes; Use debugger; Break problems down; Check boundaries; Take breaks; Explain to others; Pair debug; Seek help
34
New cards
What is rubber duck debugging?
Explaining code line-by-line to identify issues
35
New cards
What is wolf fence debugging?
Divide problem repeatedly to isolate the issue (binary search approach)