I recently "transliterated" a python library/tool into ruby (it was a
duplicate file finder... this one:
http://www.bouncybouncy.net/ramblings/posts/how_my_dupe_finding_program_works/
) -- it was stunning how trivial it was to switch it.  The ruby
version was virtually a line-by-line clone (especially since I used
the "for foo in bar" sugar for "bar.each{ |foo|...").

Of course, the ideals and style and guts of Ruby are very different
from those of Python.  But on the surface, they're amazingly similar.
(My guess is that this is why Pythonistas and Rubyists sometimes hate
each others' language -- it seems so similar on the surface, but
they're very different at the core, so each seems to the other like a
bad imitation of their own language that gets all the important stuff
wrong despite looking good on the outside.)

obShoesRelevance: someday soon I'm going to get around to making a
Shoes GUI for the duplicate finder, now that I've got a directory
chooser available. :)


On Tue, Jul 15, 2008 at 12:03 PM, Martin DeMello
<[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 1:50 AM, Cecil Coupe <[EMAIL PROTECTED]> wrote:
>>
>> If there's a working Python Window Manager and I wanted a scriptable
>> window manager of my own, I'd learn Python instead of pushing Shoes
>> where they don't shine. IMHO.
>
> Seconded. Once I knew ruby, learning python was extremely easy.
>
> martin
>

Reply via email to