News for hackers. Stuff that matters.
Re:Ruby's Exceptional Creatures by nomilk on Monday January 29, 2024 @04:13AM (#39174317)
The docs are just explaining how method resolution order works in ruby (i.e. explaining method_missing but not saying you should rush out and use it).

Personally, I've never used method_missing. Might have missed opportunities to write clever code, but I'm super happy being boring and explicit.

Tangentially, I've only used meta programming twice. Both where the alternative was cumbersome, and it was unlikely to cause confusion.

Ruby gives some exotic tools but doesn't force you to use them if you prefer not to.

There are no comments on this comment yet.