Does a Rails model or config file seem like a magical syntax? Or can you read any Ruby code and understand it as the interpreter does?
Ruby's implicitness makes it great for readability and DSLs. But that also gives Ruby a "magical" syntax compared to JavaScript.
In this talk, let's convert the implicit to explicit in some familiar Rails code. What was "magic" will become simple, understandable code.
After this talk, you'll see Ruby through a new lens, and your Ruby reading comprehension will improve. As a bonus, I'll share a few Pry tips to demystify any Ruby code.
Auf dieser Seite können Sie das Online-Video Implicit to Explicit: Decoding Ruby's Magical Syntax - Justin Gordon mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Ruby Central 18 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,486 Mal angesehen und es wurde von 241 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!