I start this topic saying that I use PHP since 2014 and I'm experienced with it, but recently (yesterday) I started to give a look to NodeJS. Node is growing fast and it's been used by a lot of web-services. I started using it yesterday, but I found it less "beginner-user friendly" than PHP. I'm not saying this as a beginner in computer programming, but as a Node-beginner.
What is your opinion? Is it worth knowing both languages?
Is it worth knowing both languages ?
If you come from php development, learning node is a great idea. It ll teach you in a soft way the concurrent programming pattern, and also event/stream programming, it will lead you to face problems regarding the underlying OS in a soft way.
All sort of stuff that PHP greatly solves for you right out of the box and which you never think about.
Node will also give you the impression of a bigger playground to explore.
But, if you want to be productive when it s about building website, i believe PHP is better. On the other hand, if you are looking for performance, node may be better, but true performance comes with compiled languages like GO, not scripted languages.
Finally, if php was not plumbed by all those damn heavy javaesque framework, it would be a really nice environment with a good trade off between speed and complexity. Node gives you speed, but it comes with a price about the complexity which can be very costly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With