~/talk

What is an object, really? OR When is an object actually a function?

Talkat RubyFuza 2014 · 2014-02-06..02-08· [ruby, functional-programming]
slides:none on file

Ruby code shows that a class is a runtime object and can be cloned, reassigned and stored in variables, so class is an instance and methods live as operations in that object space. Examples use Proc/-> and the ampersand to convert instances into callable blocks and a square-bracket dispatch hack to emulate direct calls, demonstrating instances as partially applied functions. The talk argues domain modeling suits objects but transformations suit functions, and recommends modeling model→view pipelines as composed transforms.

AI-written summary · about

  1. 0:00Introduction and background
  2. 4:45Imperative vs higher-level languages
  3. 8:17Lambda calculus and convergence
  4. 13:08Objects as instances of types
  5. 17:46Classes as instances in Ruby
  6. 21:56Functions and object dispatch
  7. 25:06Domain modeling limitations
  8. 29:00Functions as transformations
  9. 31:48Objects behaving like functions
  10. 35:23Summary and Q&A
~/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.