~/talk

A World Without Assignment

Talkat MountainWest RubyConf 2014 · 2014-03-20..03-21· [ruby]
slides:none on file

Demonstrates that Ruby and Scheme solve common problems without mutation by using recursion, lists, anonymous functions and function composition, with no assignment and explicit avoidance of set! or =. Shows factorial, Fibonacci and an exponent helper using tail-call optimization to avoid deep stacks, builds a scheme and Ruby implementation of the classic coin count-change = 292 for a dollar, and reports the Ruby version runs correctly while the Scheme version reads more concise.

AI-written summary · about

  1. 0:00Intro
  2. 2:47Functional Programming
  3. 3:29No Assignment
  4. 4:11Why Functional
  5. 6:15Scheme 101
  6. 11:54Recursion
  7. 13:03Tail Call Optimization
  8. 15:51Making Change
  9. 16:18Writing an Example
  10. 23:57More Functions
~/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.