[EMAIL PROTECTED] (Dave Whipp) writes: > There is a difference between verbs and noun. Sometimes you don't want > to associate a verb with an object: you want to associate it with the > subject:
Verbs are almost always associated with their subject in OO languages, so I don't see where you're coming from. > "the cat sat on the mat" > is that > the_mat.sat_on(the_cat) Nope. > or > the_cat.sat_on(the_mat) This one. If you called $cat->sit_on($mat); in Perl 5, who would you expect to be sitting on what? > All of those seem to loose the preposition. Are sat_on and sat_beside > really completely independent things? $x.sat_beside($y); $y.sat_beside($x); Hey, it's just like English, but with more punctuation! And we know how well people deal with punctuation! > Under perl's grammar: yes. Well, no, as I've just demonstrated. -- It's a testament to the versatility of the human mind that we're so able to compensate for our own incompetence. - Darrell Furhiman