~/talk

4 Programming Paradigms in 45 minutes

Talkat RubyHACK 2018 · 2018-05-03..05-04· [ruby]
slides:none on file

Four concrete implementations compare paradigms by doing the same problem: an OO Ruby cash‑drawer class with encapsulated state and methods, a pure recursive Racket solution using lists and prefix notation, a Prolog constraint version that turns out Prolog shortest solution after some debugging, and a low‑level assembly program that builds an assembler/bytecode stack and produces correct coin counts for 67 cents; the demos compile or run and reveal tradeoffs in verbosity, mutability, and reuse, not vague platitudes.

AI-written summary · about

  1. 0:00Intro
  2. 1:09Google Cloud Platform
  3. 1:52Creativity
  4. 2:06Differences
  5. 2:24Flexible
  6. 2:35Primary Example
  7. 2:56Object Oriented
  8. 3:21State & Behavior
  9. 3:43Objects Interact
  10. 6:09Modeling
  11. 6:36Ease of Testing
  12. 8:57Racket
  13. 9:24Pure Functional
  14. 9:36Input - Output
  15. 9:50Procedures
  16. 10:05Infix vs. Prefix
  17. 10:56Functions
  18. 11:24Conditionals
  19. 13:21Concurrency
  20. 13:37Easier To Test
  21. 13:51Reusability
  22. 15:24Prolog
  23. 15:40Formal Logic
  24. 15:57Facts & Clauses
  25. 18:01Pattern Matching
  26. 18:58Basic Examples
  27. 21:50Flexibility
  28. 22:24Constraints
  29. 25:41Procedural
  30. 26:33Registers
  31. 27:14Computations
  32. 27:50Assignment
  33. 28:21@Label
  34. 28:31Jumps
  35. 31:43Strengths?
  36. 32:12Simple
  37. 32:33Making Change
  38. 38:43Thoughtful Closing
~/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.