The PHP Criticism You've Never Actually Thought Through
The article discusses the criticisms of PHP and argues that many of these criticisms are outdated or misinformed. The author, who has extensive experience with PHP, highlights the language's evolution and improvements over the years. He acknowledges some valid criticisms but emphasizes that PHP has adapted and continues to grow.
- ▪The author has been writing PHP for over 15 years and has explored other programming languages.
- ▪Critics often claim that PHP cannot evolve, but the language has undergone significant changes since 2005.
- ▪PHP's stateless execution model, while seen as a limitation, actually helps prevent certain types of memory issues.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3895087) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Filipe Silva Posted on Apr 28 • Edited on Apr 30 The PHP Criticism You've Never Actually Thought Through #php #webdev #programming #architecture TL;DR — I've been writing PHP for 15 years. I've tried Ruby, Groovy, and Java. I came back each time. This article goes through the serious criticisms of PHP — stdlib inconsistency, the stateless model, no real async — and where each one actually holds up, and where it doesn't. I've been writing PHP for over 15 years.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV Community.