[ Ø ] Harsh Prakash – GIS Blog

Quiet Musings On Applied Spatial (Health, Disaster, Technology, Planning et al.)

A Tale of Two Languages

with 2 comments

Try this page to compare Ruby‘s and Python‘s language elegance side-by-side. Spoiler Warning: There is a winner!

To get you started:
Ruby – string.method [“String”.reverse or “String”.length]
Python – string[slice] or function(string) [“String”[::-1] or len(“String”)]

–π

Related:
• Python Interpreter
• ASP
• Cold Fusion
• JSP
• Perl [ActivePerl]
• [ActivePython]
• PHP
• Tcl [ActiveTcl]
• A Tale of Two Cities

- [ Ø ]

    Written by Harsh

    November 11th, 2007 at 10:36 pm

    Posted in Programming,Web

    Tagged with ,

    2 Responses to 'A Tale of Two Languages'

    Subscribe to comments with RSS or TrackBack to 'A Tale of Two Languages'.

    1. so what do *you* think? or you don’t want to get dragged into a flame way?

      chris3495

      12 Nov 07 at 1:16 PM

    2. @chris3495: In short, I subscribe to “whichever-good-tool-works-best” philosophy.

      Harsh

      12 Nov 07 at 6:43 PM

    Leave a Reply

    Time limit is exhausted. Please reload the CAPTCHA.