DEV Community

Discussion on: PHP... yay or nay?

Collapse
 
aminnairi profile image
Amin

Daily Node developer here. Sometimes I miss PHP for its meta programming game that is way better than JavaScript IMO. That's why there are awesome Frameworks like Laravel which I use for my personal projects. I tried to write a tool to generate GNU Linux i3bars in PHP and it was so easy to add features but when I started adding asynchronous programming it became a lot harder than I though. I finally used Node but its OOP is not on point compared to PHP. There is no better language, it really depends on the situation. I sometimes overheard people saying that PHP sucked but as for any language I honestly think that no language suck, what makes us think that is because we didn't choose the right tool for the job. JavaScript has a better set of tooling for functional programming than PHP for instance.