473,321 Members | 1,622 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,321 software developers and data experts.

language/distro preferences

I saw a question in a PHP list about the differences between php and
perl, and what the advantages between the two are, but I think I was
the only person that mentioned anything about python in the
discussion.

This makes me wonder what the python group things about these other languages.

Python vs. Perl. vs. PHP vs. C# (and other .NET languages) vs. Java
vs. C vs. C++ vs. whatever other language you can think of.

I think python is the king of command line. It's way faster than PHP.
It's OO and has exceptions which perl doesn't, and PHP supports very
poorly.

I won't touch Perl with a 10 ft. pole anymore. No need.

PHP I still use for web. Mod_python isn't the easiest language to
write fast web pages in.

I think Java is just terrible. Very very slow. It has a nice size
library, but I really don't care :P.

C and C++ are cool, but take a lot longer to develop in.

I actually like C# quite a bit. I think it's good for windows use and
asp.net. I've seen all the ranting about how much everyone hate's it,
so I won't say any more.

This brings up the question about linux distributions. Which one and
why? I use Gentoo and I think there is nothing better. It's way more
configurable than any other distro. Portage is by far the best package
management system out there. Gentoo makes administration life so much
easier. When I've used redhat in the past (not by choice), I've had to
install most programs by hand because I either couldn't find a stupid
rpm for it, or there wasn't a new enough version rpm available. Yes,
they install instantly, but they are not as up to date or
configurable. I've used suse a little and didn't like it. If I were to
try any other distro, it would probably be linux from scratch. Gentoo
has made my life so much better. I could go on and on..... but I
won't.

Just curious what the python world uses and why.

-Josh
Jul 18 '05 #1
2 1420

I use Gentoo. Their portage system is really, really good. Being able to
download and install programs and all their dependencies, using my
compilation options... that makes life so much simpler...

And about PHP, I hate it. The language is so weak. Nothing is OO. The
libraries are inconsistentand everything is in a big mess, due to the
absence of namespaces.

I guess this is best illustrated by the following example :

Python #1:
if char in string:
do stuff

if item in array:
do stuff

Python #2:
print mystuff.getsomestuff().getsomeattribute().getname( ).capitalize()

PHP #1:
Um, which of the 50 string functions should I use ? (lookup help).
Um, I don't remember, should I put the haystack or the needle first ? It
depends on which function you choose.
Um, does it return false, O, -1, or null on failure ? (It depends on
which function you choose)
Um, what's the function name for an array ? is it find_array or
array_find or in_array or array_has_key ? mmm... what if the key is a
string... is it a different function... mmm

PHP #2 :
$temp = $mystuff->getsomestuff();
$temp = $temp->getsomeattribute();
echo strtocap or somthing( $temp->getname(); )

You get it ?

On Fri, 30 Jul 2004 10:15:14 -0500, Josh Close <na****@gmail.com> wrote:
I saw a question in a PHP list about the differences between php and
perl, and what the advantages between the two are, but I think I was
the only person that mentioned anything about python in the
discussion.

This makes me wonder what the python group things about these other
languages.

Python vs. Perl. vs. PHP vs. C# (and other .NET languages) vs. Java
vs. C vs. C++ vs. whatever other language you can think of.

I think python is the king of command line. It's way faster than PHP.
It's OO and has exceptions which perl doesn't, and PHP supports very
poorly.

I won't touch Perl with a 10 ft. pole anymore. No need.

PHP I still use for web. Mod_python isn't the easiest language to
write fast web pages in.

I think Java is just terrible. Very very slow. It has a nice size
library, but I really don't care :P.

C and C++ are cool, but take a lot longer to develop in.

I actually like C# quite a bit. I think it's good for windows use and
asp.net. I've seen all the ranting about how much everyone hate's it,
so I won't say any more.

This brings up the question about linux distributions. Which one and
why? I use Gentoo and I think there is nothing better. It's way more
configurable than any other distro. Portage is by far the best package
management system out there. Gentoo makes administration life so much
easier. When I've used redhat in the past (not by choice), I've had to
install most programs by hand because I either couldn't find a stupid
rpm for it, or there wasn't a new enough version rpm available. Yes,
they install instantly, but they are not as up to date or
configurable. I've used suse a little and didn't like it. If I were to
try any other distro, it would probably be linux from scratch. Gentoo
has made my life so much better. I could go on and on..... but I
won't.

Just curious what the python world uses and why.

-Josh


Jul 18 '05 #2
Yes, PHP is very annoying that way.

-Josh

On Sun, 01 Aug 2004 13:42:45 +0200, Pierre-Frédéric Caillaud
<pe****@free.fr> wrote:

I use Gentoo. Their portage system is really, really good. Being able to
download and install programs and all their dependencies, using my
compilation options... that makes life so much simpler...

And about PHP, I hate it. The language is so weak. Nothing is OO.The
libraries are inconsistentand everything is in a big mess, due to the
absence of namespaces.

I guess this is best illustrated by the following example :

Python #1:
if char in string:
do stuff

if item in array:
do stuff

Python #2:
print mystuff.getsomestuff().getsomeattribute().getname( ).capitalize()

PHP #1:
Um, which of the 50 string functions should I use ? (lookup help)..
Um, I don't remember, should I put the haystack or the needle first ? It
depends on which function you choose.
Um, does it return false, O, -1, or null on failure ? (It dependson
which function you choose)
Um, what's the function name for an array ? is it find_array or
array_find or in_array or array_has_key ? mmm... what if the key is a
string... is it a different function... mmm

PHP #2 :
$temp = $mystuff->getsomestuff();
$temp = $temp->getsomeattribute();
echo strtocap or somthing( $temp->getname(); )

You get it ?



On Fri, 30 Jul 2004 10:15:14 -0500, Josh Close <na****@gmail.com> wrote:
I saw a question in a PHP list about the differences between php and
perl, and what the advantages between the two are, but I think I was
the only person that mentioned anything about python in the
discussion.

This makes me wonder what the python group things about these other
languages.

Python vs. Perl. vs. PHP vs. C# (and other .NET languages) vs. Java
vs. C vs. C++ vs. whatever other language you can think of.

I think python is the king of command line. It's way faster than PHP.
It's OO and has exceptions which perl doesn't, and PHP supports very
poorly.

I won't touch Perl with a 10 ft. pole anymore. No need.

PHP I still use for web. Mod_python isn't the easiest language to
write fast web pages in.

I think Java is just terrible. Very very slow. It has a nice size
library, but I really don't care :P.

C and C++ are cool, but take a lot longer to develop in.

I actually like C# quite a bit. I think it's good for windows use and
asp.net. I've seen all the ranting about how much everyone hate's it,
so I won't say any more.

This brings up the question about linux distributions. Which one and
why? I use Gentoo and I think there is nothing better. It's way more
configurable than any other distro. Portage is by far the best package
management system out there. Gentoo makes administration life so much
easier. When I've used redhat in the past (not by choice), I've had to
install most programs by hand because I either couldn't find a stupid
rpm for it, or there wasn't a new enough version rpm available. Yes,
they install instantly, but they are not as up to date or
configurable. I've used suse a little and didn't like it. If I were to
try any other distro, it would probably be linux from scratch. Gentoo
has made my life so much better. I could go on and on..... but I
won't.

Just curious what the python world uses and why.

-Josh


--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: OmyGOD | last post by:
Hi I am from Taiwan. I'm runnung an English version of WindowsXP and set the default charset to Big5(zh-tw). The question is the first time when I link to www.google.com, Google can determine...
22
by: Vincent | last post by:
I would like to develop a site that should be available in several languages, say English, French and German. My question is: how can I suggest browsers of visitors to display the correct language...
5
by: Gustaf Liljegren | last post by:
In IE (at least from version 5), you can change your prefered language, so that for example the Windows Update page appears in another language than the system default. Here's the process: Tools...
0
by: Thomas W | last post by:
Will there be a WSGI-server like BaseHTTPServer etc in the standard distro? I think that would increase the adoptation of the WSGI-standard. A new web-framework for python pops up every other week...
3
by: clintonG | last post by:
I'm messing around with the Request.UserLanguages and the Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"); to see how similar or dissimilar they may be. I observe and conclude that both get...
10
by: Immortalist | last post by:
Various aquisition devices that guide learning along particular pathways towards human biases. And as E.O. Wilson might say mental development appears to be genetically constrained. (1) Language...
10
by: azrael | last post by:
Hy guys last night i was lying in my bed and thinking about something. is there any linux distro that is primary oriented to python. you know what i mean. no need for php, java, or something...
6
by: plenty900 | last post by:
Hi folks, I've altered the PHP underlying a website to support a few languages other than English, but the Firefox version that I'm using is of course the English-language one. When I set the...
6
AmberJain
by: AmberJain | last post by:
Hello, I'm posting this thread here as a thread in Windows forum has taken a turn and is now going on the Linux path. The thread can be found here. Now the description of actual...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.