YoVDO

Vertical Assignment in Ruby

Offered By: Ruby Central via YouTube

Tags

RubyConf Courses Lexical Analysis Courses Metaprogramming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
Ruby Assignment
Hello Operator
Vertical Assignment Operator
Vequals Operator
Binding
Success!
Lexing into tokens
Searching for identifiers
High Level Approach
Low Level Approach
It Works!
Exercises for the reader
Daybreak Health


Taught by

Ruby Central

Related Courses

Compilers
Stanford University via Coursera
Create a Programming Language and Learn Advanced Python – Full Course
freeCodeCamp
Building Your Own Programming Language
Frontend Masters
Compiler Design
Indian Institute of Technology, Kharagpur via Swayam
Formal Language and Automata Theory- An Application in Compiler Design (औपचारिक भाषा और स्वचालित सिद्धांत: कंपाइलर डिज़ाइन में एक अनुप्रयोग)
IGNOU via Swayam