~/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:00Wprowadzenie do SOLID
  2. 7:12Kot niezdatny do utrzymania
  3. 10:46Pojedyncza odpowiedzialność
  4. 18:49Zasada otwarty-zamknięty
  5. 23:36Testy a dobry design
  6. 25:01Zasada podstawienia Liskov
  7. 32:10Zależności od abstrakcji
  8. 38:52Segregacja interfejsów
  9. 41:43Podsumowanie i wartość biznesowa
  10. 45:00Pytania i odpowiedzi
~/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.