DEV Community

Discussion on: Three reasons I like PHP more than Modern Javascript

Collapse
 
adnanbabakan profile image
Adnan Babakan (he/him) • Edited

I agree that PHP is still powerful and great for back-end development, but I don't think PHP is more feature-rich than JavaScript.
Second, you don't have to install a 100 MB of dependencies for a simple project you can only have your simple JavaScript files. The dependencies of JavaScript are heavy sometimes that's correct, but PHP dependencies can be heavy too. So literally, PHP is no better than JavaScript in terms of a simple project.
Well, for the third thing you've mentioned, it is absolutely right. Although it is possible to use async and await, you'll need the callbacks again somewhere since it's JavaScript's nature.

Collapse
 
forkbomb profile image
Joe Buckle

async / await for the win!