~/talk

Hit-parade of clean code violations

Talkat JavaDay Kharkiv 2016 · on Saturday, 2016-09-17· [developer-experience]
slides:none on file

Survey of 15 common clean‑code violations found across many code reviews, ranked by frequency and impact, with concrete fixes to apply during review: stop noise like magic imports, eliminate returning nulls in APIs in favor of empty collections or Optionals, break up long methods and remove duplicated logic, fix hidden side effects and poor exception handling, enforce module boundaries to avoid cyclic dependencies, and write fast, independent, meaningful tests so refactors become safe.

AI-written summary · about

  1. 0:00Introduction to clean code
  2. 2:12Code review best practices
  3. 4:59Unused imports issue
  4. 6:03Bad class naming examples
  5. 7:30Module decomposition problems
  6. 9:20Dead code and unused features
  7. 10:46Poor exception handling
  8. 11:49Useless code comments
  9. 18:36Inconsistent coding style
  10. 22:50Slow and flaky tests
  11. 26:44Side effects in functions
  12. 29:55Too many function arguments
  13. 32:41Long methods harm readability
  14. 35:16Null checks and optionals
  15. 39:10Bad naming conventions
  16. 41:18Single responsibility principle
  17. 44:29Code duplication dangers
  18. 45:11Conclusion and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.