by hacksonx · 10y ago · 0 comments
Might be worth reconsidering,FWIW.
Unless you're doing configuration, Ruby syntax is as simple as it gets.
If you're planning a career as Java developer, I highly recommend this book. Sandi is a great writer and Ruby is just a tool to communicate a message. You'll gain a lot of insight about how to write great Java by reading any of her books or articles.
I can only think of module mixins. Everything else (blocks, anonymous functions, syntax sugar) can be roughly approximated (i.e. generics), since I strongly doubt the book would use any of the metaprogramming features.
I doubt Ruby OOP code would avoid using all metaprogramming, at the very least attr_accessor!