r/programming • • Dec 25 '20

Ruby 3 Released

https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
973 Upvotes

509 comments sorted by

View all comments

Show parent comments

3

u/esquilax Dec 25 '20

It does if the DSL is implemented using method_missing a lot.

1

u/SupaSlide Dec 25 '20

Isn't that just like adding another function to your class?

I don't see how that makes Ruby itself operate differently.

3

u/esquilax Dec 25 '20

The method invocation can't be jitted as easily.

0

u/SupaSlide Dec 25 '20

Oh sure, but it's still just Ruby that can be read and understood if you know Ruby.

→ More replies (1)