TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP vs. Node.js

8 pointsby wx196almost 12 years ago

3 comments

deckiedanalmost 12 years ago
&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.
hknozcanalmost 12 years ago
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
VeejayRampayalmost 12 years ago
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.