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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

PHP vs. Node.js

8 点作者 wx196超过 11 年前

3 条评论

deckiedan超过 11 年前
&quot;[PHP] - had a functional nature which is easier to learn than the object-oriented programming&quot;<p>This is the first time I&#x27;ve ever heard of PHP (in the early 2000s especially) called functional. And the first time I&#x27;ve heard functional programming called easier than OO! I can only assume OP means something else.<p>The article is full of typos, spelling mistakes, and weird not-quite comparisons (claiming:<p>echo &#x27;hi&#x27;;<p>and<p>console.log(&#x27;hi&#x27;)<p>are equivalent.<p>Weird. Not quite sure who the intended audience is.
hknozcan超过 11 年前
This is a flawed comparison. I love Node.js but it is not suitable for every type of site and is not an ideal replacement to PHP yet. For ex, CPU heavy apps with minimal use of IO are immensely bad use cases for node.js
VeejayRampay超过 11 年前
The article mentions that PHP has a &quot;functional nature&quot;, I&#x27;m not sure I understand where the author is going with that. Not sure where he got that from either for that matter.