From: Mathieu Bouchard Date: 2001-08-08T17:47:35+09:00 Subject: [ruby-talk:19364] Re: Perl/Python/Ruby common backend (Parrot, can Ruby play too?) (2-in-1 reply) On Wed, 8 Aug 2001, A Bull in the China Shop of Life wrote: > All this debate about Python vs Ruby is of questionable value IMO, they're This is not a Python vs Ruby debate, it's a comparison of features for the sole purpose of knowing better what would need to be in a multi-language VM to support Ruby. On Wed, 8 Aug 2001, Piers Cawley wrote: > Mathieu Bouchard writes: > > Ruby has this thing called "mixins" that afaik is not in Python (unless > > it's quite recent) and is not in Perl. > You can 'sort of' do mixins with perl > BEGIN { > do "Module.pm" || die "Couldn't load module"; > } > just make sure that 'Module.pm' doesn't have a package declaration. As > you can no doubt see from its cumbersome syntax, mixins are not > generally used within perl. That's way too sort-of to be called "mixins" and AFAIK offers no advantage over Perl's multiple inheritance. Am I right ? Anyway the issue is, in a Perl/Python/Ruby VM, mixins with Ruby-style inheritance is required, and so we'd have to make sure Damian's NEXT proposal goes through. matju