Re: The end to all language wars and the great unity API to come!
- From: rantingrick <rantingrick@xxxxxxxxx>
- Date: Sat, 2 Jul 2011 21:42:53 -0700 (PDT)
On Jul 2, 11:00 pm, Gregory Ewing <greg.ew...@xxxxxxxxxxxxxxxx> wrote:
rantingrick wrote:
Ruby: for x in blah: blah_blah_blah
Python: for x in blah: blah_blah_blah
Here you're making the mistake of thinking that surface syntax
is all that matters. Although the 'for' statements in Python and
Ruby look very similar, underneath they're based on quite
different mechanisms. They're not equivalent: the Python way
leads to various powerful things such as generators; the Ruby
way lends itself more to user-defined control structures.
I agree however i see merit in both approaches. But why must we have
completely different languages just for that those two approaches? We
don't it's just a religious thing. Doesn't make sense to me. If Guido
and Matz got together over some sake and Monty Python i'll bet they
could hash out a singular replacement fro Ruby and Python in no time!
.
- Follow-Ups:
- Re: The end to all language wars and the great unity API to come!
- From: Gregory Ewing
- Re: The end to all language wars and the great unity API to come!
- From: alex23
- Re: The end to all language wars and the great unity API to come!
- References:
- Re: The end to all language wars and the great unity API to come!
- From: Chris Angelico
- Re: The end to all language wars and the great unity API to come!
- From: rantingrick
- Re: The end to all language wars and the great unity API to come!
- From: Chris Angelico
- Re: The end to all language wars and the great unity API to come!
- From: rantingrick
- Re: The end to all language wars and the great unity API to come!
- From: Gregory Ewing
- Re: The end to all language wars and the great unity API to come!
- Prev by Date: Re: The end to all language wars and the great unity API to come!
- Next by Date: Re: The end to all language wars and the great unity API to come!
- Previous by thread: Re: The end to all language wars and the great unity API to come!
- Next by thread: Re: The end to all language wars and the great unity API to come!
- Index(es):
Relevant Pages
|