Главная
Study mode:
on
1
Intro
2
Ruby Assignment
3
Hello Operator
4
Vertical Assignment Operator
5
Vequals Operator
6
Binding
7
Success!
8
Lexing into tokens
9
Searching for identifiers
10
High Level Approach
11
Low Level Approach
12
It Works!
13
Exercises for the reader
14
Daybreak Health
Description:
Explore the concept of vertical assignment in Ruby through this humorous and insightful conference talk. Delve into the world of metaprogramming as Kevin Kuchta demonstrates how to create a fully functional vequals operator using tools like Ripper and TracePoint. Learn about leftward and rightward assignment in Ruby, and discover the potential for vertical assignment. Gain valuable insights into Ruby's syntax and metaprogramming capabilities while enjoying a lighthearted approach to programming concepts. Walk through the process of lexing tokens, searching for identifiers, and implementing both high-level and low-level approaches to create this unconventional operator. Although the talk is filled with intentionally bad ideas, extract useful tricks and techniques that can be applied to everyday Ruby programming or used to playfully challenge colleagues.

Vertical Assignment in Ruby

Ruby Central
Add to list