How To Code Well
179 - PHP has 3 problems

Episode 179 · Season 4

179 - PHP has 3 problems

How To Code Well

30:01

About this episode

Changelog

Code Quiz

- We now have a Next JS website. This is also running a Docker image. No React components yet.

- Docker compose files are now in the root directory

Contributions welcome: https://github.com/howToCodeWell/code-quiz

Ideas for the future

Store Quizzes in Markdown files instead of PHP fixtures

  1. Simplified - We have a single source of truth for code questions
  2. Future proofing - We can use code snippets in the questions

PHP has these three problems

  • PHP has too many BC breaks which is making library authors uncomfortable
  • Voting is too centralised. You have to be in 'the club' to vote on RFCs
  • Funding is an issue

I personally think that PHP should only introduce BC breaks if:

  1. There is a really good benefit in doing so.
  2. All BC breaks should have been mentioned in the RFC with examples.
  3. BC breaks are only allowed in major releases.
  4. There is a large deprecation window between major releases.
  5. Backward compatibility is important and should prioritised over new changes.

Voting is too centralised.

  • Mailing lists suck. There are better ways to manage communication in 2022
  • It does feel like an elitist club.
  • Follow the RFC guide here https://wiki.php.net/rfc/howto

Funding is a problem

  • Companies need to take PHP more seriously and pay for the communities time
  • Companies need understand that open source comes at a cost to both them and the community
  • Who pays for PHP  https://thephp.cc/articles/who-pays-for-php

Google stadia is dead

https://www.protocol.com/newsletters/entertainment/google-stadia-shutdown-developers-aftermath

Follow on the socials

Twitter: https://twitter.com/howtocodewell 

Instagram : https://www.instagram.com/howtocodewell/

My web development courses

➡️ Learn How to build a JavaScript Tip Calculator 

➡️ Learn JavaScript arrays

➡️ Learn PHP arrays

➡️ Learn Python

✉️ Get my weekly newsletter

⏰ My current live coding schedule (Times are BST)

Tuesdays 18:00 = Live Podcast YouTube

Sundays 15:00 - Live coding on Twitch


More from How To Code Well

Let's talk about how to test code that you don't controlShow notes: https://howtocodewell.net/podcast/episode/219Support the show and get early access to tutorials courses and moreYouTube membership h…

39m

In today's I practice a new PHP talk that I am hoping to give to PHP user groups this year. The talk is called how to make your PHPUnit tests smarter. Show notes: https://howtocodewell.net/podcast/epi…

50m

In today's show we discuss more Laravel tutorials and look at what is coming in Laravel 12 Show notes: https://howtocodewell.net/podcast/episode/217Support the show and get early access to tutorials c…

23m

In today's show we discuss more Laravel tutorials and dip our toes deeper into the world of OOP. Support the show and get early access to tutorials courses and more YouTube membership https://www.yout…

41m

Today we are going to talk about Laravel collections, conferences and object orientation. Show notes: https://howtocodewell.net/podcast/episode/215 Support the show and get early access to tutorials c…

41m