~/talk

Clean Code with Kotlin

Talkat DevFest Romania 2020 · on Saturday, 2020-10-17· [kotlin]
slides:none on file

Kotlin delivers concise, expressive, safe code by using language features and concrete rules: prefer immutability with val and data classes, reduce function size and complexity and limit functions to three arguments, apply command–query separation and the Law of Demeter to avoid train‑wreck chains, use the Elvis operator and sealed/checked exception patterns for error paths, and close resources with use(). Also adopt ktlint/Sonar, CI/CD and mandatory tests plus small, focused code reviews.

AI-written summary · about

  1. 0:00Intro
  2. 0:13What would you prefer to have
  3. 1:13What is Clean Code?
  4. 2:58Use intention-revealing names
  5. 3:16Examples
  6. 6:28Make it smaller
  7. 10:49Command Query Separation
  8. 11:58Class organization
  9. 12:23The newspaper metaphor
  10. 13:46Cohesion
  11. 14:30Coupling
  12. 15:17Best case scenario
  13. 19:08Train wrecks
  14. 20:13LoD - Formal definition
  15. 20:23Law of Demeter
  16. 21:56"Tell, Don't Ask" Principle
  17. 22:42Objects vs Data
  18. 23:05Error handling
  19. 23:22Types/ Nullable Types (recap)
  20. 26:18Comments rule
  21. 29:19Code Review Advantages
  22. 30:01Writing the code
  23. 31:24Before the code review
  24. 32:18After the code review
  25. 33:06Ask questions
  26. 33:32It's about the code, not about the coder
  27. 34:26My summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.