PHP doesn't suck (anymore)
Channel:Aaron Francis · Length:10:48 · Published:2023-08-16 · Views:223154
Summary
Aaron Francis walks through how PHP has changed from 2012 to 2023, covering traits, array destructuring, generators, typed properties and more. It is a quick chaptered tour of modern PHP features.
Why HN recommends it
HN commenters share it to show that modern PHP is much better than its reputation.
I was quite surprised to see how far PHP has come since I used it many years ago — HN, 2023
Python, Ruby & scripting languages · Web development
Subtitles (excerpt)
Every time I make a video on PHP which is basically all the videos I make I get the exact same comment PHP is dead PHP sucks all the time every time and most of the people that think PHP is dead haven't looked at PHP since like 2012 which is before 5.4 came out and listen things were a lot different in 2012 I had just graduated college with a degree in accounting for some reason this guy was still the president over here this movie was in theaters and honestly pretty good movie our music went through this real weird hey ho phase where we were always shouting hey ho in the [Music] songs so I think it's safe to say that a lot has changed since 2012 I'm no longer an accountant and PHP no longer sucks I'm going to run you through a bunch of the language changes that have happened since around 2012 when PHP 5.4 came out and stick around to the very end because we're going to talk about TI we got to talk about type safety every time I talk about PHP people just say yeah I just need types we got to have types what about types do you guys have types I can't leave my types we've got types so I'm going to show you all the different types you can do at the end let's take a look at these changes
On Hacker News
Not related to security, but I was quite surprised to see how far PHP has come since I used it many years ago: [PHP doesn't suck (anymore)]( [VIDEO] ) — xwowsersx, 2023-12
Many people who learned to code with PHP in the 2000s are picking it up again as first choice for web projects since they improved it so much and websites can be updated and running with a simple `git pull` without restarting any services. I saw a video not long ago that made me have hope for the future of PHP again -> [VIDEO] — geek_at, 2023-09
I've been working with PHP since the early 2000s, and it has undergone massive changes. I made a video recently called "PHP doesn't suck (anymore)"[0] to try to cover some of the changes from 2012 to now. If you read through the comments you see a lot of people surprised at how much the language has evolved. And a lot of people saying "PHP sucks lol," but it is YouTube afterall. [0] [VIDEO] — aarondf, 2023-08
If you need to clarify that something isn’t something else, because it isn’t obviously different, maybe the two are more alike than you’d like to admit. On that note, I’m a happy PHP developer, PHP doesn’t suck anymore ( [VIDEO] ), and there is no way to say JavaScript doesn’t have at least as many footguns now. (Personally, I think JavaScript’s footguns - like the ludicrous dependency trees and … — gjsman-1000, 2024-10
What’s the alternative?! You can either have a massive Python project and struggle with a lack of types and a tenseness that becomes unreadable at huge sizes; A Laravel project that’s PHP, which despite being way, way, better than it used to be (types! traits! union type returns! faster than ruby! weak maps! [0]) still has a few footguns left; Or you can have a JavaScript monster. The worst of al… — gjsman-1000, 2024-08
Related videos
- The Story of Al Baydha: A Regenerative Agriculture in the Saudi Desert. قصة مشروع البيضاء · Al Baydha · 19:48
- 50 Years Ago, This Was a Wasteland. He Changed Everything | Short Film Showcase · National Geographic · 8:17
- Controlling Your Dopamine For Motivation, Focus & Satisfaction · Andrew Huberman · 2:16:31
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30
- Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin · Confreaks · 1:06:38
- JavaScript: The Good Parts · Google TechTalks · 1:03:47