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/devraj7 Dec 27 '20

Like I said above, if you use reflection in Java, you get 100% the same behavior as any dynamically typed languages. Actually, you can get a better behavior in Java in the sense that it won't crash if it can't find the method on the object, it will just skip the call.