PHP v Python:公平比较? [英] PHP v Python: fair comparison?

查看:58
本文介绍了PHP v Python:公平比较?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道这是否是一个公平的比较。任何评论

赞赏。


- Python更具可读性,更通用

- PHP具有可怕的向后兼容性

- PHP的入门门槛较低

- 大多数廉价的网络托管商都支持PHP,但不支持Python

- PHP有更多的预编写脚本可用

- mod_python很难设置和使用,而且很容易出现问题

崩溃

- 有更多的需求PHP开发人员,而不是Python开发人员

解决方案

walterbyrd写道:


我不知道这是否是一个公平的比较。任何评论

赞赏。


- Python更具可读性,更通用

- PHP具有可怕的向后兼容性

- PHP的入门门槛较低

- 大多数廉价的网络托管商都支持PHP,但不支持Python

- PHP有更多的预编写脚本可用

- mod_python很难设置和使用,而且很容易出现问题

崩溃

- 有更多的需求PHP开发人员,而不是Python开发人员






我刚与我的提供商代表进行了一次谈话/会议( ISP)关于

我们的机器,然后我们去晒太阳啤酒。

他告诉我他的公司越来越关注Python,因为<很多(有些?)b组织认为它是比PHP更严肃的语言。

这就是他声称的。

如果你问我布洛克斯,他同意了,但这就是一些客户的喜m / /
出于某种原因认为。


我自己从不认真使用Python(在CMS中只有一点叫做ZOPE),

所以我自己不会做出判断。


问候,

Erwin Moller


Erwin Moller写道:


>

我刚刚与我的提供商(ISP)代表进行了一次谈话/会议/>
我们的机器,之后我们去晒太阳啤酒。

他告诉我他的公司越来越关注Python,因为

许多(某些?)组织认为它是比PHP更严肃的语言。

这就是他声称的。



人们如何看待你,当然,这与你试图投射的图像有很大关系。由于这是美国的选举季,我将使用

政治作为比喻。政治家必须代表某种东西。如果您每隔一天更换一次平台以响应批评,那么

您将被视为轻量级。公众不相信有人会随风吹嘘。


这就是PHP的问题。开发人员似乎不知道

使语言成功。发展是如此专注于安抚他们愿意牺牲向后兼容性的批评者。如果

不是这个功能被弃用,那么这个功能就是改变/删除了
。这就像赢得PHP与Python或PHP相比

Java或其他任何辩论都比有用更重要。

walterbyrd写道:


我不知道这是否是一个公平的比较。任何评论

赞赏。


...

- mod_python很难设置,使用,并且有错误倾向于

崩溃



大多数情况下,当人们遇到mod_python问题时,因为他们使用的是

过时的版本,阅读

错误版本的文档,或者甚至懒得阅读或理解

文档。人们接受文件

可能会好很多,但是有一个非常活跃的邮件列表,你可以得到帮助,但是很多人都没有''甚至这样做。


因此,如果你把努力付诸实践,mod_python就可以使用了。
正确理解它。目前存在一些已知的问题

更不方便而不是问题,即使它们被修复在

版本中,希望不会太久。


也许您想进入mod_python邮件列表

并详细列举您的问题,我们可以解决您的问题

并指出在哪里你可能出错了或问题是什么,

而不是简单的暗示它都是垃圾。


格雷厄姆


I don''t know if this is a fair comparison or not. Any comments
appreciated.

- Python is more readable, and more general purpose
- PHP has awful backward compatibility
- PHP has a lower barrier to entry
- Most inexpensive web-hosters support PHP, but not Python
- PHP has far more pre-writen scripts available
- mod_python is difficult to set up, and use, and is buggy and prone to
crash
- There is more demand for PHP developers, than Python developers

解决方案

walterbyrd wrote:

I don''t know if this is a fair comparison or not. Any comments
appreciated.

- Python is more readable, and more general purpose
- PHP has awful backward compatibility
- PHP has a lower barrier to entry
- Most inexpensive web-hosters support PHP, but not Python
- PHP has far more pre-writen scripts available
- mod_python is difficult to set up, and use, and is buggy and prone to
crash
- There is more demand for PHP developers, than Python developers

Hi,

I just had a talk/meeting with a representative of my provider(ISP) about
our machine, and after that we went to get a beer in the sun.
He told me that his company was focussing more and more on Python because
many (some?) organisations perceive it as a more serious language than PHP.
That is what he claimed.
Bullocks if you ask me, and he agreed, but that is what some clients of him
think for some reason.

I never used Python seriously myself (only a little in a CMS called ZOPE),
so I won''t make a judgement myself.

Regards,
Erwin Moller


Erwin Moller wrote:

>
I just had a talk/meeting with a representative of my provider(ISP) about
our machine, and after that we went to get a beer in the sun.
He told me that his company was focussing more and more on Python because
many (some?) organisations perceive it as a more serious language than PHP.
That is what he claimed.

How people perceive you, of course, has much to do with the image that
you try to project. As it''s election season here in the US I will use
politics as an analogy. A politician has to stand for something. If you
change your platform every other day in response to criticism, then
you''ll be seen as a lightweight. The public doesn''t trust someone who
blows with the wind.

That''s the problem with PHP. The developers don''t seem to know what
makes the language successful. Development is so focused on appeasing
detractors that they''re willing to sacrifice backward compatibility. If
it''s not this feature being deprecated then it''s that feature being
changed/removed. It''s as though winning the PHP vs. Python or PHP vs.
Java or whatever debate is more important than being useful.


walterbyrd wrote:

I don''t know if this is a fair comparison or not. Any comments
appreciated.

...
- mod_python is difficult to set up, and use, and is buggy and prone to
crash

Most of the time when people have problems with mod_python it is
because they use outdated versions, read the documentation for the
wrong version, or don''t even bother to read or understand the
documentation in the first place. It is accepted that the documentation
could be a lot better, but there is a very active mailing list where
you can get help, but a lot of people don''t even do that.

So mod_python is more than usable if you put the effort in to
understand it properly. There are some known issues at present which
are more an inconvenience than a problem and even they are fixed in a
release hopefully not too long away.

Perhaps you would like to come over onto the mod_python mailing list
and enumerate your issues in detail and we can address your questions
and point out where you may have gone wrong or what the issue is,
rather than simple suggesting it is all crap.

Graham


这篇关于PHP v Python:公平比较?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆