By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,665 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,665 IT Pros & Developers. It's quick & easy.

[OPINION] - does language really matter if they all do the samething?

P: n/a
Are programming languages like spoken languages, in the sense
that they all say the same things, just using different words?

Like many PHP people, I was never a "real" programmer, but just
picked up PHP as my HTML websites started to mature. Now that
even my PHP sites have grown, (50,000 lines of PHP!), I got
interested in object-oriented approach. Since my old website
needed an overhaul anyway, I thought it'd be a good time to learn.

I start learning Ruby. Then Python. Wondering if, since I'm
about to re-write my entire website anyway, if I should use
Ruby or Python instead of PHP.

As I've fretted over this for way too many hours, I started wondering:

Can Ruby do something (important) that Python can't?
Can Python do something (important) that PHP can't?
Can PHP do something (important) that Ruby or Python can't?

Are they all just the same, and it's just a matter of taste?

Should I stick with PHP for the same reason that pop singers
worldwide sing in English for maximum compatibility with the medium?

Though PHP wasn't design for OOP should I use it that way anyway?

Any opinions on the subject, from people that know and use many
languages, would be appreciated.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Python Baby" <py****@hitmedia.com> wrote in message
news:ma**************************************@pyth on.org...
Are programming languages like spoken languages, in the sense
that they all say the same things, just using different words?

Like many PHP people, I was never a "real" programmer, but just
picked up PHP as my HTML websites started to mature. Now that
even my PHP sites have grown, (50,000 lines of PHP!), I got
interested in object-oriented approach. Since my old website
needed an overhaul anyway, I thought it'd be a good time to learn.

I start learning Ruby. Then Python. Wondering if, since I'm
about to re-write my entire website anyway, if I should use
Ruby or Python instead of PHP.

As I've fretted over this for way too many hours, I started wondering:

Can Ruby do something (important) that Python can't?
Can Python do something (important) that PHP can't?
Can PHP do something (important) that Ruby or Python can't?

Are they all just the same, and it's just a matter of taste?

Should I stick with PHP for the same reason that pop singers
worldwide sing in English for maximum compatibility with the medium?

Though PHP wasn't design for OOP should I use it that way anyway?

Any opinions on the subject, from people that know and use many
languages, would be appreciated.
In one sense, they all do the same thing, but that's a very trivial
sense. Different languages have different things they focus on,
so they make some things easier and some things harder.

Python tries to maintain a balance between clarity, ease of
learning, and usability. Of the major scripting languages, it's
probably the easiest to write maintainable code.

A lot of people think that Ruby's blocks and pervasive
use of the visitor pattern provide a very productive setting;
to me there's nothing there that Python can't do.

Both of them are object oriented from the ground up: if
being object oriented is important to you, PHP, Perl and
TCL aren't in the ball game. Their OO features are bolted
on afterthoughts. Some of them are quite nice afterthoughts,
but the kludge shows.

John Roth

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.