Ruby Manor 3 - Programming with Nothing by Tom Stuart

Channel:Confreaks · Length:40:49 · Published:2012-11-10 · Views:12968

Watch on YouTube

Summary

Tom Stuart's Ruby Manor 3 talk builds FizzBuzz using nothing but Ruby lambdas, working through Church encodings of numbers, booleans and data structures. It is a hands-on introduction to lambda calculus.

Why HN recommends it

Strongly recommended in lambda calculus and Y-combinator threads as a mind-expanding half hour that clarifies the ideas.

An awesome video which changed my perspective towards lambda calculus and programming in general — HN, 2015

Functional programming · Python, Ruby & scripting languages · Computability & complexity theory

Subtitles (excerpt)

has done the foolish thing of helping organize and write a talk so he is up next and he's going to tell us about programming with nothing sry thanks thank you um okay uh I'm going to talk about programming with nothing um so uh I love Ruby don't we all love Ruby uh it's great um I I use it every day pretty much um it's a really expressive and flexible and and sort of beautiful programming language um it's got loads of features kind of in the language you know like a mixins and inheritance and all of the all of the kind of semantic stuff about the language that we like it's got loads of great stuff in its core libraries and its standard libraries and of course there are loads of uh loads of great gems for it um so those are the main reasons why I enjoy using it um in fact I love it so much that I want to ruin it so let's ruin Ruby um by seeing how much Ruby can do if we remove all of its features so by that I mean let's not use any gems uh let's not use the standard Library let's not make use of any modules any classes no objects no methods also no control flow no assignment arrays strings numbers or booleans um just before I continue I just got to say to you that this is just a game is not software

On Hacker News

An awesome video which changed my perspective towards lambda calculus and programming in general: programming with nothing: [VIDEO] — tacticiankerala, 2015-04
For anyone who finds this interesting, I cannot recommend enough investing a half hour in watching the "Programming With Nothing" talk: [VIDEO] In it, the speaker implements fizzbuzz using only lambda calculus (making significant use of church encoding). — gamegoblin, 2014-09
If you are curious about the topic, I strongly recommend watching these videos: Y Not- Adventures in Functional Programming by Jim Weirich [LINK] Programming with Nothing by Tom Stuart [VIDEO] — mekishizufu, 2013-11
There's a good elaboration of it in Tom Stuart's "Programming With Nothing" talk[0], in which he does a lambda calculus implementation of FizzBuzz in what's left of Ruby if you leave everything out except the things strictly necessary to do lambda calculus - with the exception of what you could call C-style macros (basically text search-and-replace, so you can call a section of code FOO and just … — stan_rogers, 2019-01
The same thing, but in Ruby stabby-proc notation (from 2012) by Tom Stuart: [VIDEO] Well, perhaps not exactly the same thing, but only because Ruby requires the Z-combinator due to applicative order. — stan_rogers, 2017-03

Related videos