Episode 1: Why Ruby2JS is a Game Changer

I’m so glad you could tune in for the debut episode of Fullstack Ruby. I’ve been on a few Ruby-themed podcasts over the past 18 months, but this is the first time I’m running a show about Ruby myself! To kick things off, I’d like to introduce you to Ruby2JS and explain why I think this technology is a game changer.

Jared White by Jared White on December 6, 2021

Hey everybody, I’m so glad you could tune in for the debut episode of Fullstack Ruby. I’ve been on a few Ruby-themed podcasts over the past 18 months, but this is the first time I’m running a show about Ruby myself!

To kick things off, I’d like to introduce you to Ruby2JS and explain why I think this technology is a game changer.

Ruby2JS isn’t simply about an attempt to write what appears to be Ruby code for your website frontend. It’s really about writing JavaScript—AS IF JavaScript had Ruby’s syntax and was inspired by Ruby’s stdlib, ActiveSupport, and the like. A “RubyScript” if you will.

Three examples I cover on today’s episode:

  • set_timeout

  • tap & yield_self

  • implicit self method calls within a class definition

Visit the Ruby2JS website for live compilation demos, documentation on the various transformations and approaches available, and a whole lot more.

Become a part of the Fullstack Ruby community and learn how to put your Ruby skills to work on the backend AND the frontend. Know somebody who’s a JavaScript developer but is interested in learning more about Ruby? Share the site, podcast, or newsletter with them!

The Fullstack Ruby Podcast is a production of Whitefusion, a boutique web studio based in Portland, OR.

Theme music courtesy of Epidemic Sound.


Subscribe to the RSS feed

in your podcast player of choice.

“Ruby is simple in appearance, but is very complex inside, just like our human body.”

matz

Join nearly 250 fullstack Ruby developers and subscribe to receive a timely tip you can apply directly to your Ruby site or application each week:


Other Recent Articles

Episode 6: How Do You Manage Ruby Application Dependencies?

Every Ruby web framework has its own way of configuring itself as well as third-party dependencies.

Continue Reading

How to Think Like a Framework Developer

When implementing a specific feature for a specific application, you’re mainly concerned with the What. Yet when building a framework, you’re mainly concerned with the Why and the How.

Continue Reading

More This Way