Affordances in Programming Languages
summary
Shows concrete translations between languages: Smalltalk’s name Constructors become Ruby class methods for polar/cartesian points, Smalltalk’s ability to pass multiple blocks (the detect if none pattern) maps to Ruby procs, C++’s deterministic destructors and RAII inspire Ruby block-based resource management, Lisp macros like save-excursion get reproduced with yield and ensure, and a Smalltalk image-reader pattern is implemented in Ruby by tracking subclasses via the inherited hook so file formats auto-register.
AI-written summary · about
chapters (4)
- 0:00Start
- 10:51Linguistic Relativity a.k.a. The Sapir-Whorf Hypothesis
- 11:27When Code Cries Cory Foy at SCNA 2012
- 13:34WARNING Laser Radiation
related talks
28mAffordance in Programming Languages
33mRuby: A Family History
26mhow a language affects its people
31mSeeing Metaprogramming and Lambda Function Patterns in Ruby
25mSmalltalk, Lisp, Bash: Three Interesting Languages
34mHijacking Ruby Syntax in Ruby
34mStanding on the Shoulders of Giants
30mRuby Techniques by Example
