← Graph

Ruby Rendezvous Method Call, Proc, and Beyond

talk 27 connections

Agnieszka Małaszkiewicz's wroclove.rb 2023 talk (final title crowdsourced with ChatGPT after rejecting drier suggestions). Starts with nostalgia — her first wroclove.rb talk in 2020 (remote pandemic year), the old RoR/RoS logo, Ruby 1.9.3 and Rails 3. Surveys what changed since a 2012 lightning talk about fun Ruby flavors (e.g. the `a = a` warning, `method_missing` quirks in IRB). Shows adjacent-string-literal concatenation in Ruby (also in Python, C, C++) and traces it into Ruby's parse.y BNF grammar processed by Yacc. Covers calling methods in uncommon ways, referencing Greg Navis's '12 ways to call a method' article and Nick Schwaderer's 'Ruby Archaeology' talk: calling a method via the `::` scope resolution operator (as in the merb framework), noting that `::` and `.` are not fully interchangeable because `::` also resolves constants (RuboCop recommends `::` only for constants). Dives into procs: call, yield, square brackets, and the lesser-known `===` triple-equals call — present since Ruby 1.9.1 — which allows procs to be used in case/when (since Ruby 2.2). Walks Rubinius's Ruby implementation of Symbol#to_proc (with a mention of the defunct IronRuby .NET port) and Hash#to_proc. Demonstrates Method#to_proc, Proc#curry, and the `&method(:+)` / `each_with_object` patterns for calling map with an extra argument. Closes with numbered block parameters (`_1`, `_2`, …) and a summary of plus-one call styles. Q&A: uses `===` in case statements with RES procs in real code; other techniques are mostly 'for fun', and she hasn't benchmarked performance.

type
talk
title_brainstormed_with
ChatGPT
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Ruby tool
Tour of Ruby language features around method invocation and procs.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Opens with the Ruby behavior where adjacent string literals auto-concatenate.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Ruby parse.y resource
Inspects parse.y to explain string concatenation grammar.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Explains parse.y's BNF notation.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Yacc tool
Notes parse.y is consumed by Yacc to emit C.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Covers calling methods via :: and why RuboCop discourages it.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Highlights calling a proc via === and using procs in case/when.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Symbol#to_proc concept
Walks the Rubinius implementation of Symbol#to_proc.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Hash#to_proc concept
Shows hash.to_proc and using &hash with map.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Method#to_proc concept
Uses method(:+).to_proc with curry to pass an argument via map.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Proc#curry concept
Demonstrates curry for partial application with procs and methods.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Closes with _1/_2 implicit block parameters.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
RuboCop tool
Cites RuboCop's guidance to reserve :: for constants.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Rubinius tool
Uses Rubinius as a readable reference implementation of Symbol#to_proc and Hash#to_proc.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
IronRuby tool
Mentioned in passing as an old .NET Ruby implementation.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
merb tool
Cites merb as a codebase that used :: to call methods.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
Uses Greg Navis's article as the baseline catalogue of method-call styles.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
References Nick Schwaderer's Ruby Archaeology talk as a source of the :: call example.
talk Ruby Rendezvous Method Call, Proc, and Beyond
about
ChatGPT tool
Opens with ChatGPT-brainstormed title suggestions.
asked_at
Ruby Rendezvous Method Call, Proc, and Beyond talk
Audience Q&A question.
asked_at
Ruby Rendezvous Method Call, Proc, and Beyond talk
Audience Q&A question on benchmarking.
asked_at
Ruby Rendezvous Method Call, Proc, and Beyond talk
Audience Q&A question on functional composition of procs.
authored
Ruby Rendezvous Method Call, Proc, and Beyond talk
Speaker delivering the talk at wroclove.rb 2023.
from_talk
Ruby Rendezvous Method Call, Proc, and Beyond talk
Key practical takeaway of the talk.
from_talk
Ruby Rendezvous Method Call, Proc, and Beyond talk
Discussed alongside the RuboCop rule.
from_talk
Ruby Rendezvous Method Call, Proc, and Beyond talk
Underlying meta-lesson demonstrated throughout the talk.
talk Ruby Rendezvous Method Call, Proc, and Beyond
presented_at
Talk given at wroclove.rb 2023.

Provenance

Created
2026-04-17 16:17 seed
Read by
17 extractions