|
|
|
|
|
by Skoofoo
3782 days ago
|
|
One of my favorite aspects of Ruby is that everything is an object with methods. Adding global operators/functions like this would only complicate the language. > But we also -- perhaps more often? -- ask questions like "Is this item part of this group?" We are asking a question about the item. Here we are actually asking the group a question about itself. An item would not know a group's contents. |
|