From ruby-talk Mon Feb 23 15:01:28 2004 From: Emmanuel Touzery Date: Mon, 23 Feb 2004 15:01:28 +0000 To: ruby-talk Subject: Re: Need examples comparing Ruby to Python Message-Id: <403A1658.2070105 () wanadoo ! fr> X-MARC-Message: https://marc.info/?l=ruby-talk&m=107754852805904 Hello, David MacQuigg wrote: >I'm putting together a web page comparing Ruby to Python, and I need >some good examples showing off the advantages of Ruby. I'm new to >Ruby, so all I've been able to do so far is pick some examples from >the Programming Ruby book, and do a Google search on "compare ruby >python". What I've found is way out-of-date. > and good luck for your project! i would personnally emphasize select, find, the & array operator which is array intersection, sort_by, and this kind of cool ruby features found in Enumerable. But I don't know how python does it. emmanuel