Hacker News new | ask | show | jobs
by lolspace 1667 days ago
What is modern PHP?
1 comments

It commonly refers to PHP 7+ paired with clean code practices and SOLID principles.

The opposite is PHP5-style code from the early 2000s, no package management, no type strictness, no object orientation, just a giant spaghetti mix of JS, HTML, SQL and PHP in a 10kloc file.

Do you think spaghetti code won't come from folks who use Composer? Ha!