~/talk

Be pragmatic, be SOLID

TalkinPolishat 4Developers 2015 · on Monday, 2015-04-20· [software-architecture, career-development]
links:none on file
slides:none on file

Explains how to apply the five SOLID principles through concrete refactorings: split an overloaded Employee Active Record into a business model plus a repository/gateway, extract URL validation rules into separate strategy classes for testability, and replace direct PayPal calls with a payment provider interface injected by dependency injection. Demonstrates a Liskov Substitution violation from an overridden add method that throws exceptions and uses design-by-contract to detect it, references Martin Fowler’s cost curves, and warns that testable code can still be poorly designed so apply SOLID pragmatically.

AI-written summary · about

  1. 0:00Introduction to SOLID
  2. 7:12Unmaintainable code
  3. 10:46Single responsibility
  4. 18:49Open/closed principle
  5. 23:36Tests and good design
  6. 25:01Liskov substitution
  7. 32:10Dependency inversion
  8. 38:52Interface segregation
  9. 41:43Summary and business value
  10. 45:00Q&A
~/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.