Hacker News new | ask | show | jobs
by sleight42 5422 days ago
I'm sorry to be critical but this article is a dangerously incomplete treatment.

For instance, methods only exist on classes. And there's no mention of the singleton class whatsoever.

For a more accurate lesson, watch Dave Thomas, author of the "Pickaxe" Programming Ruby book, present on the Ruby Object Model: http://scotland-on-rails.s3.amazonaws.com/2A04_DaveThomas-SO...

1 comments

> Note that this is a basic explanation, and glosses over higher-level concepts like the eigenclass/metaclass (I’ll leave that for a later post).
Glossing over those things misses the entire point. Not worth posting without it. The videos mentioned in the parent comment get it so right. Highly recommended.