TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Python or PHP?

3 点作者 jbarrec超过 11 年前
Which language do you prefer and why?*<p>Python or PHP?<p>* I am not trying to start a language flame war here. Just trying to see how everyone feels and what their reason is for using their language of choice. I have been using PHP on and off for years but recently learned Python and am curious if it&#x27;s worth knowing one over the other.

2 条评论

bmelton超过 11 年前
The only tangible advantage that PHP has these days is in being able to be deployed pretty much everywhere for fairly cheaply.<p>If &#x27;cost&#x27; is your absolute and only criteria, the answer is probably PHP. If place any other criteria above cost for language choices, the answer is probably Python.<p>Usually these questions involve more, and are harder to answer, but this one&#x27;s generally pretty easy. Python.
评论 #6882151 未加载
seefriek超过 11 年前
For what task? There are things I use Python for; others I use C.<p>That said...I&#x27;d never use PHP for anything I had a say in.
评论 #6882102 未加载