in term of its OO features, syntax consistencies, ease of use, and their
development progress. I have not use python but heard about it quite often;
and ruby, is it mature enough to be use for developing serious application,
e.g web application as it has not many features in it yet.
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn. How about PHP?
in term of its OO features, syntax consistencies, ease of use, and their
development progress. I have not use python but heard about it quite often;
and ruby, is it mature enough to be use for developing serious application,
e.g web application as it has not many features in it yet.
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn. How about PHP?
There was a good discussion of ruby, PHP, and web apps recently:
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn. How about PHP?
I forgot http://dada.perl.it/shootout, which is great for performance
comparisons. Source code of the tests can be viewed easily to get a
feeling for the strengths and weaknesses of the syntax as well.
Mit freundlichen Gruessen,
Peter Maas
···
–
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas@mplusr.de
in term of its OO features, syntax consistencies, ease of use, and
their development progress. I have not use python but heard about it
quite often; and ruby, is it mature enough to be use for developing
serious application, e.g web application as it has not many features
in it yet.
I’ve given up on Perl for its ugly syntax and it is not the easiest
language to learn. How about PHP?
It really depends on what you’ll want to do. PHP is a great language for
getting dynamic HTML pages up and running quickly. Perl is great for
its string-handling abilities. (On my Web pages, I actually call a Perl
script from PHP precisely for this reason.)
However, both PHP and Perl can be very unwieldy for large projects. I’m
a newcomer to Python, but it seems to scale much better than the other
P-languages.
For a first tour of Python, I’ll suggest that you read the excellent
tutorial by the language’s author, Guido van Rossum:
in term of its OO features, syntax consistencies, ease of use, and their
development progress. I have not use python but heard about it quite
often;
and ruby, is it mature enough to be use for developing serious
application,
e.g web application as it has not many features in it yet.
As another poster has mentioned, Ruby is more closely related
to Perl than to Python. While I don’t use it, people I respect who
have moved to Ruby say it has a couple of real killer features;
in particular the way blocks and the pervasive use of the visitor
pattern come together change the way one writes programs for
the better.
As far as syntax is concerned, there doesn’t seem to be a
huge amount of difference. Syntax is syntax, and every language
has it’s little pecularities.
I haven’t seen enough of it to make me want to learn it, but it’s
on my list of languages to play with sometime.
in term of its OO features, syntax consistencies, ease of use, and their
development progress. I have not use python but heard about it quite often;
and ruby, is it mature enough to be use for developing serious application,
e.g web application as it has not many features in it yet.
Syntax : both Ruby and Python are pretty clean, Ruby being IMHO more
consistent and Python easier to grasp
OO : Ruby is OO all the way, and pretty close to Smalltalk. Python is
more a mix of procedural and OO with some functional stuff too.
Web : Python may have a bit more existing solutions, and a real killer
app (Zope). Now, AFAIK, Ruby has also some interesting stuff for web
developpement.
IMHO, both are really great languages. I really like the elegance of
Ruby and the ease of use of Python. So try both and pick the one that
fits you’re brain !-)
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn.
No comment…
How about PHP?
One of the dumbest ‘scripting’ language I’ve ever worked with, but still
a good solution for web developpement when you have no better (read :
Python or Ruby) choice.
[Ruby, Python]
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn. How about PHP?
All these suck. You guys should grow up and start programming in real
programming languages like Befunge.
Oh, and you forgot to cross post to all the other 54 comp.lang groups.
And now: Can we please never have threads like this one ever again?
We’re getting them on a twice-per-month base right now which makes these
topics get old and very uninteresting quickly.
PS: Don’t take this too personal, but all this wouldn’t have happened if
you had searched in other resources before posting here.
And as usual the comparison with ruby is a broken link.
This is something that really really gives ruby a bad reputation. I’ve
never seen so many instable servers in other communities. Sometimes
rubyforge is down, RAA had recently a long non reachable period, most of the
RAA links are garbage, the mod_ruby server is down when you need it
etc, etc.
It is just the same situation as with most libraries and extensions.
I never had problems like this when searching for python or php
information.
in term of its OO features, syntax consistencies, ease of use, and their
development progress. I have not use python but heard about it quite
often;
and ruby, is it mature enough to be use for developing serious
application,
e.g web application as it has not many features in it yet.
As another poster has mentioned, Ruby is more closely related
to Perl than to Python. While I don’t use it, people I respect who
have moved to Ruby say it has a couple of real killer features;
in particular the way blocks and the pervasive use of the visitor
pattern come together change the way one writes programs for
the better.
As far as syntax is concerned, there doesn’t seem to be a
huge amount of difference. Syntax is syntax, and every language
has it’s little pecularities.
Well, there is one big difference syntactically: Python uses indentation
as syntax and Ruby doesn’t. Personally I don’t prefer Python’s
’indentation-as-syntax’ since it means that syntactically significant
pieces of my code are invisible and if the tab settings in my editor are
not the same as yours it can make it difficult to share code (or even
worse, it might look like everything is OK when we share code, but the
code which looks exactly the same to each of us, might not be depending
on how tabs are or are not expanded). It would also seem to be a pain for
cutting & pasting code as well.
However, some people really like Python’s indentation-as-syntax, so YMMV.
Your best bet is to actually use each language for a small project
so that you spend about a day with each language. You’ll find that while
on the surface both languages seem quite similar, at a deeper level they
each have a very different effect on how you think about and approach the
problem. Some people find that Ruby best fits with their brain and others find
Python a better fit. You won’t know until you try.
I understand your frustration. I suppose these type of msgs are like
spam to you. Maybe you should treat them like spam ? I mean, spam is
here to stay and surviving in the Internet requires some ability to
accept that and develop filtering skills.
Not that I want to be Darwingish, just hoping for a better world.
Now, OTOH, maybe there is some value in blaming people, it’s only I prefer
educating.
Yours,
Jean-Hugues
···
At 04:59 27/04/2004 +0900, you wrote:
Hunn E. Balsiche wrote:
[Ruby, Python]
I’ve given up on Perl for its ugly syntax and it is not the easiest language
to learn. How about PHP?
All these suck. You guys should grow up and start programming in real
programming languages like Befunge.
Oh, and you forgot to cross post to all the other 54 comp.lang groups.
And now: Can we please never have threads like this one ever again? We’re
getting them on a twice-per-month base right now which makes these topics
get old and very uninteresting quickly.
PS: Don’t take this too personal, but all this wouldn’t have happened if
you had searched in other resources before posting here.
This is something that really really gives ruby a bad reputation. I’ve
never seen so many instable servers in other communities. Sometimes
rubyforge is down, RAA had recently a long non reachable period, most of the
RAA links are garbage, the mod_ruby server is down when you need it
etc, etc.
And as usual the comparison with ruby is a broken link.
Unfortunately, I’ve had a problem with a recent server move and haven’t
been able to resurrect the IOWA-based FAQ yet. Still working on it in
between my paying job and being ill all weekend. I’m sorry to have let
you and the Ruby community down, Lothar.
This is something that really really gives ruby a bad reputation. I’ve
never seen so many instable servers in other communities. Sometimes
rubyforge is down, RAA had recently a long non reachable period, most
of the
RAA links are garbage, the mod_ruby server is down when you need it
etc, etc.
Your charming attitude really motivates all of the volunteers who run
these sites to get right to work on improving them.
It is just the same situation as with most libraries and extensions.
I never had problems like this when searching for python or php
information.
There’s an obvious answer, but I’ll leave it to you to figure out.
Your best bet is to actually use each language for a small project
so that you spend about a day with each language. You’ll find that while
on the surface both languages seem quite similar, at a deeper level they
each have a very different effect on how you think about and approach the
problem. Some people find that Ruby best fits with their brain and others find
Python a better fit. You won’t know until you try.
.
.
.
It’s not just that “You won’t know until you try” (“is it better
to have children, or join the monastery?”); it’s that you won’t
know until you try, and it’s inexpensive to try! It’s eminently
feasible to gain experience in either language with a few hours (!)
of work, as opposed to the weeks that must precede enlightenment
about, say, J2EE servers.
in term of its OO features, syntax consistencies, ease of use, and
their
development progress. I have not use python but heard about it quite
often;
and ruby, is it mature enough to be use for developing serious
application,
e.g web application as it has not many features in it yet.
As another poster has mentioned, Ruby is more closely related
to Perl than to Python. While I don’t use it, people I respect who
have moved to Ruby say it has a couple of real killer features;
in particular the way blocks and the pervasive use of the visitor
pattern come together change the way one writes programs for
the better.
As far as syntax is concerned, there doesn’t seem to be a
huge amount of difference. Syntax is syntax, and every language
has it’s little pecularities.
Well, there is one big difference syntactically: Python uses indentation
as syntax and Ruby doesn’t. Personally I don’t prefer Python’s
’indentation-as-syntax’ since it means that syntactically significant
pieces of my code are invisible and if the tab settings in my editor are
not the same as yours it can make it difficult to share code (or even
worse, it might look like everything is OK when we share code, but the
code which looks exactly the same to each of us, might not be depending
on how tabs are or are not expanded). It would also seem to be a pain for
cutting & pasting code as well.
As I said in another post, indentation is the reason I learned
Python in the first place, but it’s not the reason I stay with
the language. In fact, I’ve come to the very heretical view
that the indentation sensitivity is a language design mistake.
It should be the editor’s job to handle that level of detail in
a manner that the developer finds workable.
One reason I think it’s a language design mistake is that
it’s not recursive. That is, it’s not possible to shift from
expression level indentation back to statement level
indentation without major disruptions. This is needed for
embedded blocks.
I think Ruby has a reasonable middle ground here: its use of
’end’ is fairly unobtrusive compared to, for example, C, C++,
C# or Java. Even so, I think that a reasonable programming
editor would get them out of my face while I was programming.
The tab issue is one of those relatively inconsequential things
that people seem to love to argue about: I’d rather be able to
tell the editor how I want the program formatted, and have done
with it.
RubyForge is down sometimes (though rarely), but its a far better
repository (resource-wise) than SourceForge for Ruby projects. We have
tried to make sure the resource(s) we provide this community (for free)
meet the community’s need for a repository of projects that are
Ruby-centric, and that we (Tom mostly) are responsive to our user’s
needs. If you have something specific to discuss with us regarding
RubyForge’s usability, please let us know here: