Speaking as a recent convert myself, PHP is incredibly productive. And with Laravel + Inertia or Livewire I have never moved faster in the full stack.
In my non scientific empirical research for the last 10 years 10% of people who hates PHP have actually used it & hates it for valid reasons and 90% hates it because hating it is "cool" but can't provide a single reason as to why they hate it, or they use it out of "scope". As a general programming language it sucks, for web it is more than capable for 99% of the devs for it's intended usecase, it is a great "get shit done" language, but some people take it way to seriously ;)
PHP having traits makes me unreasonably happy
It always cracks me up to see PHP haters get BTFO'd in real time. Also, regarding performance, PHP running on top of Swoole is actually fast af. You should look into it.
Prime always pretending like heβs not a js/ts soy dev like the rest of us Edit typo
PHP: Oh you studied me 10 years ago? π Allow me to reintroduce myself. ππΎππΎππΎππΎππΎππΎππΎππΎππΎππΎππΎ
Problem is a lot of php codebases (that I've seen anyway) were made in old versions of php, which does suck. Even if new php is better, I'd still rather use a lot of other languages instead for new stuff
Variadic parameters are great. A very common use case is for a database interface. For example `database.exec("SELECT * FROM ? where ? = ?", "table", "condition", true);`
As much as I love Ruby, and by extension Ruby on Rails. Laravel+PHP has been upgrading so quickly, and without the DHH nonsense. It's hard because I still like Ruby's flexibility (and syntactic sugar/flexibility) more, but might need to stick to PHP for developer adoptability.
PHP sounds like an ointment for hemorrhoids - is that a use case? Giggity
Man stop trying to make php happen..
PHP is the best programming language in the world
I long for the day when Iβm good enough to understand a third of what he talked about
I feel like the types section needed a bit on static analysis tools Psalm & PHPStan. In a way the lack of generics and other bits of structural or specific types in PHP can feel like a big failing, but it's mostly fixed by writing those types in docblocks, adding Psalm or PHPStan to your delivery pipeline and using PHPStorm. And since Psalm and PHPStan have an 'error baseline' feature you can even use the tools on their strictest levels while working on a messy legacy project. Not an option in the same way in Typescript!
If you're doing JSON-RPC variadic arguments are nice π
Happy Birthday, Bisco! )
Happy birthday Beastco
Oh men! I really like your content! You kill me everytime
Happy Birthday beastco
@ThePrimeTimeagen