DEV Community

Discussion on: Top Reasons Why Learning Python Is the Best Decision

Collapse
 
cubiclesocial profile image
cubiclesocial

Never really liked Python. PHP is my go-to command-line scripting language. All of my cron jobs are written in PHP and I even have a few at-boot system services running as root written in PHP. If I need sheer performance or need to make system calls, I'll go write some C/C++ or assembler - or even write a PHP extension. PHP significantly outperforms Python too in many key areas (e.g. internal memory management) but interpreted languages can't beat custom-built C/C++ applications if we are talking about performance.

Most people think of PHP as "for the web" but it really works great on the command-line!