News for hackers. Stuff that matters.
Re:Ruby's Exceptional Creatures by tpm on Monday January 29, 2024 @05:10AM (#39174666)
These days (years) I work mostly in Java and would love to have method_missing or define_method. Of course I can do everything I want without them, but it's not fun.
Re:Ruby's Exceptional Creatures by erik_seaberg on Monday January 29, 2024 @05:50AM (#39174911)
Groovy has monkey patching and methodMissing (and propertyMissing) but runtime lookups make them slower than dispatch to classloader-defined methods.
Re:Ruby's Exceptional Creatures by cutler on Monday January 29, 2024 @10:15PM (#39186013)
Kotlin would be a good Java-compatible alternative with its extension functions.