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 2 1442
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.getsome stuff().getsome attribute().get name().capitali ze()
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->getsomeattribu te();
echo strtocap or somthing( $temp->getname(); )
You get it ?
On Fri, 30 Jul 2004 10:15:14 -0500, Josh Close <na****@gmail.c om> 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
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.getsome stuff().getsome attribute().get name().capitali ze() 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->getsomeattribu te(); echo strtocap or somthing( $temp->getname(); ) You get it ? On Fri, 30 Jul 2004 10:15:14 -0500, Josh Close <na****@gmail.c om> 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 that I'm using big5 and locate me on www.google.com.tw.
At first I thought it determined form $_SERVER,
but read through the $_SERVER array, there's nothing about "zh-tw" or
|
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 depending
on their preferences ?
Let me explain this more clearly: in many browsers, you are given the
possibility to choose your preferred language: fr, en, de, etc.
Typically, in Mozilla, this option is detailed as follows:
"Web pages are...
|
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 ->
Internet Options ->
Languages ->
Add (choose language from list) ->
Move Up (move language to top of list)
|
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
and more and more support WSGI. Why not focus on getting an optimized,
production-grade fully documented WSGI-server into the distro? Right
now the BaseHTTPServer seems to be usable for development and testing,
not production environment. Perhaps...
|
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 their value from the Accept-Language
key stored in the header of the response. To test this hypothesis I
reconfigure IE Language Preferences which by default (for me)
is English (United States).
I include a Spanish (Mexico) Language Preference and
| |
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 Aquisition Device
(2) Color Aqusition Device
(3) Sound Aquistion Device
(4) Smell Aquisition Device
(5) Touch Aquisition Device
(6) Art Aquisition Device
|
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 like this. pure
python and containig all the funky modules like scipy, numpy,
boaconstructor (wx of course). something like the python enthought
edition, but all this on a distro included. maybe psql but persistant
predered, zope of course....
|
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 language in the preferences e.g. to French,
the website still thinks the browser is English. Is there a way
to properly change the browser language?
Thanks.
|
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 problem.........
I need a Linux distro for USB drives (also called Pendrives). The Linux distro must have GUI (Graphical User Interface). The linux distro must support installation of VMware Player also (A light weight distro is preferred).
i.e. I need a GUI...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |