Hacker News new | ask | show | jobs
by dgcoffman 3943 days ago
Ruby has a language feature for this and it's pure 100% poison.

http://rubylearning.com/satishtalim/ruby_method_missing.html

2 comments

That came from Smalltalk, where it was named doesNotUnderstand. It's always difficult to choose between crippling the language and encouraging stupidity.
that is neither what OP mentioned (automatic matching of a typo) nor poison.

Also, it's from Smalltalk, and found in some ways also in python, objective-c and many others.