Comment

Comment by Ourgon

The Python 2.x to 3.x transition was also quite messy and long-winded but now 3.x rules the roost. Recent and coming PHP versions have done and will do away with much of the evolved mess that the language accrued in the decades. Performance is OK, deployment is easy, it is nearly universally supported, the build system is quite a bit more sane than the spaghetti-ball-like mess around node and friends.

It is possible to use PHP for CLI apps as well but this is a bit of an afterthought:

   if (PHP_SAPI == "cli") {
      # CLI-code goes here
      exit();
   }
It is the right tool for a lot of jobs - not for all jobs but what language is?
parent Ourgon 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton