Time to clip this and tag netflix on twitter and ask them if this is why they turned you down in the interview, for not sharing the same kind of opinions as the rest of the staff
Bro, this made me realise how the dev circle is such a parallel to wizard towers in fantasy and hoe they bicker and fight about magical philosophy all day
When I had a job I spent like 40% of the time on bicker fights about magical philosophy and 10% on meetings, and 20% drinking coffee. Only about 12% was spent actually writing code, the rest was reading the lambda ultimate. Now I retired, I don't spend time on bicker magical philosophy because when you're a lone wolf you can do whatever.
We conjure spirits from thought that move through the circuits. We bind them with names, and through those names we command and change them. The wizard book really makes programming sound metal.
If you know German it is ever funnier because when he says all those variables with the $$ it coincides with Hitler saying "SS" (The Schutzstaffel), which is just great timing. Really needs to get some probs!!!
When a JavaScript dev tells you Go is bad that's when you know they're cooked. They can't deal with the fact that Go devs are happy because they're not JavaScript devs.
For web applications, PHP is fundamentally flawed, especially if you have to do IO during requests. Basically, this comes from two issues: every PHP request is basically a new process, and every request requires doing some setup, such as connecting to a database, loading language files, etc, etc, which will block. Likewise, doing database requests, API calls, etc, will block. All this work for every request. Sure, there's Laravel Octane for long-lived workers, so you don't need to do constant setup, but that's almost worse, because having a set amount of workers versus just forking a bunch of PHP engines will make it so any blocking will make further requests impossible. PHP was also never designed for long-lived processes, so it leaks memory like a seive, especially if you use libraries that never expected to run in a long-lived context. For anything that's a little more than a static page or a few database calls, PHP loses out to JavaScript, not to mention Go or Rust. I mean, sure, there's stream_select and some libraries that can make async work, like ReactPHP, but PHP still has some fundamental issues.
you dont know what you are talking about. php-fpm are long lived workers. and if you have as many workers as cores you dont even want to do async because it will slow down the CPU with context switching. I have a feeling you just dont understand web hosting/ webdev. Javascript/rust/go script kiddies need to learn more.
@@turtlefrog369 You have no clue what you are talking about. If you are waiting for a IO, and you haven't made the underlying connection async, then waiting on the connection will block the thread and waste precious cycles doing nothing. If you have a finite number of workers, this places a hard limit on the concurrent number of requests that can be handled. If your database is locked or an API request is taking longer than expected... then you are fucked until that request finishes. It kills performance. Using the PHP SAPI and spawning a bunch of PHP threads is also a way to work around this, but then you are basically doing async but passing the work off to the kernel, while kernel threads are generally much heavier than green threads or tasks. In essence, PHP is okay as a templating engine, but it doesn't scale. Blocking itself requires context switching anyways, as you pass control back to the kernel to start scheduling time for other processes, which is much more expensive than simply opening sockets in async mode and handling a bunch of requests concurrently using an async runtime. These are basic computer science concepts that I learned as a freshman while getting my degree.
@@turtlefrog369 That's kinda my point. PHP is great for simple or static content. One or two calls to a database won't hurt too much. But once you start doing more complex stuff... like web sockets, keep-alive, SSE, etc, then async is the only realistic way to do so. Even PHP-FPM kills their workers after like 20 requests because PHP leaks so much memory that the only way to make long-lived workers realistic is to kill it quickly. For startups, blogs, or marketing, PHP is great. For more complex use-cases, it is not. Plain and simple. Since that's the case, it's much better to find a more performant language or server that actually has async support, such as Go, Rust, or Node. Again, PHP has a place and is good for quick iterations, but larger projects aren't meant for it. These are all extremely reasonable takes. I primarily used PHP for a long time and I kept running into issues related to these. There were some workarounds, sure. But fundamentally, PHP was never meant for the modern web, so it was a bitch to get everything working. I'm smart enough to work around these issues and find solutions, but after switching to another language, everything became much easier because I wasn't using PHP how it was meant to be used. Also, I have a minor complaint about PHP-FPM... They aren't compliant with the FastCGI spec. I implemented a FastCGI server to communicate with PHP-FPM and their non-compliance with some of the protocols was annoying, particularly they don't hint via FastCGI how many workers they have.
@@reybontje2375 did you just call facebook a startup? The "modern web" can F itself, js needs to go. I am sick of all the fingerprinting API. And no you do not use PHP for static content, what are you smoking?
Dang I didn't know Prime knew about Action Script. A legit great language that is easy to learn in my opinion. Cons are that async is a bit weird (Worker) and it's missing out on some modern syntaxic sugar like arrow function and Linq.
Re: proxies Yeah it's great fun in the land of Spring when you forget to put breakpoints in both your controller and your service classes, and then you think, how long could it possibly take to step out of the service back to the controller? There's like 7 different levels of indirection to call an autowired Spring bean method, and they're all called invokeSomething. You have to use a debugger that knows about your framework, and there's something cursed about that.
Happens to every Dependency Injection framework. At least the ones i know. But then again, i could be helpful if there is some filter, circuitbraker or wathever in between that is causing an error. And the stacktrace is more helpful than from the Rx library.
The inoculation to JS 2018 was remembering JS 1998. 😂 But being real... Disposable code is the best code. Except for the code you never even have to write.
ThePrimeagen: "You wanna give your career the pink slips? Learn JavaScript. Even PHP is better than JavaScript ..." php: "A-ain't no mercy, a-a-ain't no mercy (Woah) Got that purple Lamborghini, purple Lamborghini lurkin'"
Decorators and proxies may not be the worst when it comes to indirection. What about Aspect Oriented Programming and COMEFROM, the implicit GOTO instruction?
Learn as many languages as you can stand to learn my friends. It dilutes the hatred. 😂 But please could someone tell me why I learnt coffeescript... "Oh... look at what new JS can do now". Like writing an XSLT engine months before msxml was released. This was in my stars. 😔🤣
Not asking this in a hostile way, just genuinely curious. How exactly did you, Theo, and Fireship become the holy trinity of CZcams web developers? It feels like that's been a very engineered process, and I'm wondering how much of it was the three of you working together and how much was just the result of naturally aggregating fanbases or less naturally occurring sponsorship patterns.
This video is really weird if you're german and you understand most of the real bad german they are speaking there, but the subtitles are saying something completely different.
As someone who actually used as3 at the time, don't listen to the guy who read a blog post about what Adobe thought would be a good idea once. It was a terrible language, poorly implemented.
I bet the house that most people in Twitch chat saying PHP sucks have never used it, let alone built a service for a company that has made them millions.
"Fair statement, Hitler" ThePrimeagen, 2024
😂
I came down here to comment that lol, beat me to it
Time to clip this and tag netflix on twitter and ask them if this is why they turned you down in the interview, for not sharing the same kind of opinions as the rest of the staff
I agree with all Hilter's statement on PHP, so do you. Because it is an empty set.
It's tough if you speak German. Dual plots
Yeah, I can't focus on both plots
Yea, I always wondered... :)
Yeah for me those montages suck 😂😂
Watch on mute
For a German watching this is a pretty bizarre thing. Like hearing what they say and what prime says can't be any more different hahah
Kudos to the authors of the subtitles, who made "Stalin" match with "stalling" -- well played!
And SS matching with $$ was hilarious too
and "garbage" at 6:20!
also talking about $$ when H says "SS"
He does it repeatedly. Even matched the eord bruh with his speech. Great attention to detail.
@@reilysmith5187
Bro, this made me realise how the dev circle is such a parallel to wizard towers in fantasy and hoe they bicker and fight about magical philosophy all day
When I had a job I spent like 40% of the time on bicker fights about magical philosophy and 10% on meetings, and 20% drinking coffee.
Only about 12% was spent actually writing code, the rest was reading the lambda ultimate.
Now I retired, I don't spend time on bicker magical philosophy because when you're a lone wolf you can do whatever.
What is interesting is how we all supposedly also need to learn new languages and frameworks every X years.
We conjure spirits from thought that move through the circuits. We bind them with names, and through those names we command and change them. The wizard book really makes programming sound metal.
Have you seen a cybersecurity debate?
@@monad_tcp Hold on, how old are you? I thouht you are he person in the pfp
If you know German it is ever funnier because when he says all those variables with the $$ it coincides with Hitler saying "SS" (The Schutzstaffel), which is just great timing. Really needs to get some probs!!!
Primeagen: PHP is not as bad
Also Primeagen: well, let's try this new language which of course isn't PHP
I must note that the salute used by the Germans during that war sounded suspiciously close to Zig...
The language of Hans
"Zig."
-- Hitler, 2024
For me nothing beats the Haskell version of this meme. "How about you pattern match my fist across your face" will never fail to make me laugh
I've never seen it but it sounds hilarious
I wonder if there's a H reacts to H reacts... 😂 That would be priceless
These "subbed" hitler videos are always strange to watch when you understand both english AND german xD
True
These AI translated videos have been very eye-opening to me to say the least
Dem kann ich nur zustimmen;-).
my guy said: "fair statement hitler" LMFAO
from rust guy to php guy is a huge leap
4:02 that $$ reference 😭😭😭
PHP is like cockroaches. After the nuclear apocalypse, the only remaining webservers will be running PHP.
It all make sense since the web started with static html and we are going back to it, it make sense that we will go back to PHP
When a JavaScript dev tells you Go is bad that's when you know they're cooked. They can't deal with the fact that Go devs are happy because they're not JavaScript devs.
Im a happy go lucky JavaScript dev
@@deadchannel8431 you have Stockholm syndrome
Go devs enjoying nature
I'm a very happy JS dev
I use both :D Happy GO JavaScript GO Dev! :D
Understanding the language really ruins the fun of these :(
I wish we could switch the dub to another language.
Just turn it off.
@@ultimaxkom8728 then u cant hear blud's commentary
I never in my life thought I would see Mr. Primeagen watch a downfall parody
Imagine reviewing hitlers code and nitpicking about spaces and rejecting it for stupid reasons until he snaps
If you gonna review his code, might as well be a grammar nazi about his comments too 🙂
zig isn't "moderately more convenient than c", it has a whole comptime thing lmao
For web applications, PHP is fundamentally flawed, especially if you have to do IO during requests. Basically, this comes from two issues: every PHP request is basically a new process, and every request requires doing some setup, such as connecting to a database, loading language files, etc, etc, which will block. Likewise, doing database requests, API calls, etc, will block. All this work for every request.
Sure, there's Laravel Octane for long-lived workers, so you don't need to do constant setup, but that's almost worse, because having a set amount of workers versus just forking a bunch of PHP engines will make it so any blocking will make further requests impossible. PHP was also never designed for long-lived processes, so it leaks memory like a seive, especially if you use libraries that never expected to run in a long-lived context. For anything that's a little more than a static page or a few database calls, PHP loses out to JavaScript, not to mention Go or Rust.
I mean, sure, there's stream_select and some libraries that can make async work, like ReactPHP, but PHP still has some fundamental issues.
you dont know what you are talking about. php-fpm are long lived workers. and if you have as many workers as cores you dont even want to do async because it will slow down the CPU with context switching. I have a feeling you just dont understand web hosting/ webdev. Javascript/rust/go script kiddies need to learn more.
@@turtlefrog369 You have no clue what you are talking about. If you are waiting for a IO, and you haven't made the underlying connection async, then waiting on the connection will block the thread and waste precious cycles doing nothing. If you have a finite number of workers, this places a hard limit on the concurrent number of requests that can be handled. If your database is locked or an API request is taking longer than expected... then you are fucked until that request finishes. It kills performance.
Using the PHP SAPI and spawning a bunch of PHP threads is also a way to work around this, but then you are basically doing async but passing the work off to the kernel, while kernel threads are generally much heavier than green threads or tasks. In essence, PHP is okay as a templating engine, but it doesn't scale.
Blocking itself requires context switching anyways, as you pass control back to the kernel to start scheduling time for other processes, which is much more expensive than simply opening sockets in async mode and handling a bunch of requests concurrently using an async runtime.
These are basic computer science concepts that I learned as a freshman while getting my degree.
@@reybontje2375 dont wait for IO. your long winded post is irrelevant. web request have to be fulfilled ASAP. Just admit your L take is wrong.
@@turtlefrog369 That's kinda my point. PHP is great for simple or static content. One or two calls to a database won't hurt too much. But once you start doing more complex stuff... like web sockets, keep-alive, SSE, etc, then async is the only realistic way to do so.
Even PHP-FPM kills their workers after like 20 requests because PHP leaks so much memory that the only way to make long-lived workers realistic is to kill it quickly.
For startups, blogs, or marketing, PHP is great. For more complex use-cases, it is not. Plain and simple.
Since that's the case, it's much better to find a more performant language or server that actually has async support, such as Go, Rust, or Node.
Again, PHP has a place and is good for quick iterations, but larger projects aren't meant for it. These are all extremely reasonable takes.
I primarily used PHP for a long time and I kept running into issues related to these. There were some workarounds, sure. But fundamentally, PHP was never meant for the modern web, so it was a bitch to get everything working. I'm smart enough to work around these issues and find solutions, but after switching to another language, everything became much easier because I wasn't using PHP how it was meant to be used.
Also, I have a minor complaint about PHP-FPM... They aren't compliant with the FastCGI spec. I implemented a FastCGI server to communicate with PHP-FPM and their non-compliance with some of the protocols was annoying, particularly they don't hint via FastCGI how many workers they have.
@@reybontje2375 did you just call facebook a startup? The "modern web" can F itself, js needs to go. I am sick of all the fingerprinting API. And no you do not use PHP for static content, what are you smoking?
Dang I didn't know Prime knew about Action Script. A legit great language that is easy to learn in my opinion. Cons are that async is a bit weird (Worker) and it's missing out on some modern syntaxic sugar like arrow function and Linq.
“All programming is inconvenient“ I haven’t had this thought since I switched to Elixir.
Re: proxies
Yeah it's great fun in the land of Spring when you forget to put breakpoints in both your controller and your service classes, and then you think, how long could it possibly take to step out of the service back to the controller? There's like 7 different levels of indirection to call an autowired Spring bean method, and they're all called invokeSomething. You have to use a debugger that knows about your framework, and there's something cursed about that.
I tryed spring and I hate the guts of not knowing where something is instantiated.
Happens to every Dependency Injection framework. At least the ones i know.
But then again, i could be helpful if there is some filter, circuitbraker or wathever in between that is causing an error. And the stacktrace is more helpful than from the Rx library.
PHP 8 is actually acceptable. It is by no stretch "good".
PHP 8 is fun, because it totally breaks legacy code
LAMP stack was my first true stack, after just fiddling with html and dreamweaver and Flash etc.
ThePrimeagen will make PHP great again! Our hero in these trying times of software development…
Ja
As a german i have a headache now
they need AI to redo the original german to match the new subtitles.
"Whether you think my work is right, whether you think javascript deserves punishment, cast your vote now!!!"
thank god its not a 28 minute video
Man I'm still using Meteor, I never left the isomorphic JS hype phase
Those memes are much funnier if you're not german speaking. Cause reading englisch while listening to my main language is strange.
"No one really knows what a goroutine is. They just pretend!"
6:51 "If you break'er legs, its hard to cook orangutan"
I REALLY miss ActionScript, I learned more about OOP in 3 months than I could have ever imagined.
as a german, i can confirm really sad this.
Damm i wish, i couldnt understand german for this one
cause the audio wasnt edited, its only the subtitles
It's really hard for germans to watch these "Hitler reacting" videos. Reading fake subtitles while understanding the dub is confusing.
So happy to not be a German
they are so good for everyone else tho
Ignorance is bliss in this instance.
Just shut off your brain
The same when I watch people writing this kind of subtitles for JoJo meme video but I understood Japanese
welcome to costco, i love you
Welcome to Costco...I love you 🤣🤣🤣
This is just brilliant.
This was great 😂
ThePHPrimeagen
JavaScript is a plague on humanity. I refuse to use web based tech when I don’t need to. Local offline is glorious.
FYI "Primeagen Hitler" is now something I search for.
The inoculation to JS 2018 was remembering JS 1998. 😂
But being real... Disposable code is the best code. Except for the code you never even have to write.
One day years from now when someone gets the bright idea to throw you a birthday roast, they should pull out a guy dressed like this to deliver it!
"If you break your legs, its hard to cook orangutan" -AH
Im a new software engineer and watching this makes me feel like that coding language has powercreep like in gacha games on every update
ThePrimeagen: "You wanna give your career the pink slips? Learn JavaScript. Even PHP is better than JavaScript ..."
php: "A-ain't no mercy, a-a-ain't no mercy (Woah)
Got that purple Lamborghini, purple Lamborghini lurkin'"
It's hard for me to read along if I am hearing something completely different in my native language
It's funny how Java has already 20+ versions and PHP has under 10, while being almost same age.
Good movie, the clips are getting quite old but the film holds up.
Decorators and proxies may not be the worst when it comes to indirection.
What about Aspect Oriented Programming and COMEFROM, the implicit GOTO instruction?
0:52 This doesn't work for me. I'm German, and the subtitles don't match what he's saying. They could at least have made an AI voice for this...
LOL, we're back to PHP, maybe write few extensions for it with Zig or Rust
Sorry, I'm late to the channel, but can somebody please explain the Costco joke? I can't figure out the pattern...
That was fun. Great script. I just hope that no PHP dev was injured in the making of the video.y
Go does have generics, for ~2.5 years.
That was great haha. Just when I thought I was sick of seeing these.
Learn as many languages as you can stand to learn my friends. It dilutes the hatred. 😂
But please could someone tell me why I learnt coffeescript...
"Oh... look at what new JS can do now".
Like writing an XSLT engine months before msxml was released.
This was in my stars. 😔🤣
1:00 - That's what she said! xD
Pure comedy lol
Brazil not mentioned. I'm disappointed.
decorators are amazing
I don't know if you guys are history buffs, but the more I learn about that Hitler guy the more I don't care about him. I think he was a real jerk.
As a german, listening to this only in the background was so weird, ngl
How can they post this and not link to the original video? I can't find it.
6:52 IF YOU BRAKE YOUR LEGS IT'S HARD TO COOK ORANGUTAN 🗣️
as a native speaker this is so hard. The subs arent even close to aligning, I hate it...except for maybe the part about betrayal
CZcams mentioned! 🎉
Rahh, wtf is a bot comment
I must be an exception - I neither love nor hate golang. It's merely okay.
isomorphic could be the future you know lol
Guys, I think old primy wants to invade Poland.
link to the video reacted??
This is perfect
he was on the path to become a Leptos champion, when he was seduced by the evil PHP emperor, Darth Laravelus
Where is the original video?
it's hard to cook oranguntan
Not asking this in a hostile way, just genuinely curious. How exactly did you, Theo, and Fireship become the holy trinity of CZcams web developers? It feels like that's been a very engineered process, and I'm wondering how much of it was the three of you working together and how much was just the result of naturally aggregating fanbases or less naturally occurring sponsorship patterns.
Nobody:
ThePrimeagen: *literally agrees with Hitler*
I’m effin dying
Someone please tell him about keys for foward back one frame
This video is really weird if you're german and you understand most of the real bad german they are speaking there, but the subtitles are saying something completely different.
But golang does have generics...
These clips are really tough on us that actually understand German
To be fair, when he said php was better than javascript, he was right.
I use Laminas(zend) for my personal project
As someone who actually used as3 at the time, don't listen to the guy who read a blog post about what Adobe thought would be a good idea once. It was a terrible language, poorly implemented.
Its so dang hard to listen to these as a German :(
PHP is the King! 😂
so good
Hitler should have said, "... Wir wechseln zu Flutter und Dart..."
in my time, golang was tcl.
JavaScript is the daedric prince of skill issues.
shutup youtube! hahahah
just a comment to pander to
I bet the house that most people in Twitch chat saying PHP sucks have never used it, let alone built a service for a company that has made them millions.
i learned Rust around the time prime did and im in love with it. honestly dont get why he doesnt
what is php