~/talk

Twelve Ways to Make Code Suck Less

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [java]
slides:none on file

Twelve concrete practices: schedule regular time to pay technical debt, prefer high cohesion and remove or relocate coupling, replace custom code with JDK utilities when possible, use Java streams to express intent (example: filter primes, map sqrt, limit K, sum), catch surprising metrics like cyclomatic complexity 864 or a 40,000‑line method, keep methods at a single level of abstraction, name things well, comment why not what, review tests before code and write a failing test to show bugs, and minimize mutable state.

AI-written summary · about

  1. 0:00ORACLE CODE
  2. 2:31What's Quality Code?
  3. 3:18Schedule Time to Lower Technical Debt
  4. 5:54Favor High Cohesion
  5. 6:37low cyclomatic complexity
  6. 8:33Favor Loose Coupling
  7. 11:07Program with Intention
  8. 13:43Avoid Primitive Obsession
  9. 15:34Imperative code is packed with accidental complexity.
  10. 23:29Prefer Clear Code over Clever Code
  11. 27:42Apply Zinsser's Principle on Writing
  12. 33:55Write Expressive Self-Documenting Code
  13. 36:59Avoid Long Methods-Apply SLAP
  14. 39:24Perils of Long Methods
  15. 43:17Variable Names Represent Abstractions
  16. 43:41Do Tactical Code Reviews
  17. 44:37Facilitating Tactical Code Reviews
~/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.