From: Michael Crute on
On Tue, Jun 22, 2010 at 4:58 AM, Josef Tupag <joseftupag(a)gmail.com> wrote:
> I've been programming (when I do program) mainly in Perl for the last 10
> years or so. But I've been itching to learn a new language for a while now,
> and the two near the top of the list are Ruby and Python.

If you have the time give both a try. Start with Python, of course
;-). I've been programming Python as my primary language for the past
4 years after having done Perl and PHP professionally. Python is a lot
of fun, the language is very clean and clear and it's got a great
standard library. From my dabbling in Ruby I can say that I'm not too
keen on the syntax of the language or some of the semantics, it just
feel sloppy (but certainly less sloppy than PHP). Both languages are
very functional and you can do the same tasks in either one so I think
it comes down, mostly, to syntax and semantics.

--
Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problem just with
potatoes. --Douglas Adams
From: James Mills on
On Tue, Jun 22, 2010 at 9:37 PM, Nathan Rice
<nathan.alexander.rice(a)gmail.com> wrote:
> As far as community support, Python has 4342 packages listed in sourceforge,
> Ruby has 705.  Python is listed in ~0.4% of jobs at indeed.com's trend

You are forgetting the 10278 (last count) or so packages, modules and what not
available on PyPi (1).

cheers
James

1. http://pypi.python.org/


--
--
-- "Problems are solved by method"
From: Stephen Hansen on
On 6/22/10 4:51 AM, James Mills wrote:
> On Tue, Jun 22, 2010 at 9:37 PM, Nathan Rice
> <nathan.alexander.rice(a)gmail.com> wrote:
>> As far as community support, Python has 4342 packages listed in sourceforge,
>> Ruby has 705. Python is listed in ~0.4% of jobs at indeed.com's trend
>
> You are forgetting the 10278 (last count) or so packages, modules and what not
> available on PyPi (1).

In all fairness, then you need to compare the nearly nine thousand
packages on RubyForge.

But, otherwise, I refrain from this conversation. Obviously the users on
this list prefer Python, in general. We may have many fine reasons for
doing so, some of us may have used a bit of Ruby, but LanguageA or
LanguageB conversations are never really useful.

If you're doing this to solve a certain problem: specify the problem,
and I may have some real insight for you. If you're learning this out of
an academic desire to learn a new language, then learn both.

Learning a new language is always a net win. Which first? Whatever you
have the vaguest preference for after five minutes.

No reason to be picky with adding tools to your mental toolbox.

--

Stephen Hansen
... Also: Ixokai
... Mail: me+list/python (AT) ixokai (DOT) io
... Blog: http://meh.ixokai.io/

From: D'Arcy J.M. Cain on
On Tue, 22 Jun 2010 03:02:15 -0700 (PDT)
lkcl <luke.leighton(a)gmail.com> wrote:
> so whilst ruby may be dynamic and compact, it's not beautiful,
> readable or obvious as to what's going on. i look at a python
> program, and it uses actual... like... y'know... words that make

Python is executible pseudocode.

--
D'Arcy J.M. Cain <darcy(a)druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
From: Andreas Waldenburger on
On Tue, 22 Jun 2010 19:38:43 +1000 James Mills
<prologic(a)shortcircuit.net.au> wrote:

> When I came across Rub* I found it to be just a rip-off of Python (in
> some respects) and couldn't understand how it became popular so
> quickly :)

You answered your own question: It's a rip-off of Python.

On a more serious note, though, I think Ruby is as much a rip-off of
Python as Python is a rip-off of Smalltalk or Modula. I think one
should be careful with such statements. Then again, this is a Python
group, so you're relatively safe, I guess. ;)

/W

--
INVALID? DE!