473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
1 1417

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Maboroshi | last post by:
Hi I am fairly new to programming but not as such that I am a total beginner From what I understand C and C++ are faster languages than Python. Is this because of Pythons ability to operate on...
250
by: Sugapablo | last post by:
Just out of curiosity, while checking on a site I was working on, I decided to throw a couple of the web's most popular URLs into the W3C Markup Validator. Out of microsoft.com, google.com,...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
130
by: Daniel Manes | last post by:
I'm baffled. I have a column in a SQL Server Express database called "Longitude," which is a float. When I view the table in a DataGridView, some of the numbers, which only have two decimal places...
14
by: webEater | last post by:
I have a problem, it's not browser specific, and I don't get a solution. I have an (X)HTML document, I show you a part of it: .... <!--<div class="pad">--> <div id="eventImages"><img src=""...
113
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside...
7
by: Dwight Johnson | last post by:
I am attempting to use Master Pages in a new website, and finding it troublesome. I also do not see a lot of entries in this group regarding them or their components, such as ContentPlaceHolders. ...
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.