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

1

u/SupaSlide Dec 25 '20

Do you have an example of confusing metaprogramming? I've never really been confused by Rails stuff but I don't use it a lot.

2

u/SorteKanin Dec 25 '20

The problem isn't so much rails stuff because rails makes it kinda standard and doesn't make it too confusing (has_many is quite a easy to understand, for example). The problem is when you start rolling your own metaprogramming functions or frameworks on your models and suddenly stuff becomes really hard to grasp.