← Graph

Read Ruby source to understand Ruby

takeaway 3 connections

Meta-lesson of the talk: many 'magic' Ruby features become obvious once you read the source. Adjacent-string concatenation falls out of one BNF rule in parse.y; Symbol#to_proc, Hash#to_proc and the &method(:…) pattern are each a handful of readable lines in Rubinius's pure-Ruby implementation.

type
lesson-learned
takeaway Read Ruby source to understand Ruby
about
Ruby parse.y resource
Takeaway illustrated with parse.y.
takeaway Read Ruby source to understand Ruby
about
Rubinius tool
Takeaway illustrated with Rubinius's Ruby-in-Ruby source.
takeaway Read Ruby source to understand Ruby
from_talk
Underlying meta-lesson demonstrated throughout the talk.

Provenance

Read by
3 extractions