underrated yter go brr this man should have more subs
@eptic-c11 ай бұрын
Saying that php code is not readable because you write your logic in a php file that contains both logic and presentational layer is the same as writing your javascript on the event handlers of html elements. ( like onclick="" )
@RealDevastatia11 ай бұрын
Right? I guess addEventListener is too hard for some people.
@antifa_communist11 ай бұрын
It's still terrible without that.
@ob3491511 ай бұрын
You should see nextjs with react server component you can write sql query in react its basically php early days.
@trashhater93047 ай бұрын
@@ob34915please, this is innovation, future of programming, not some crappy blue elephant code from early 00s.
@Leonhart_937 ай бұрын
Yeah, 98% of the PHP code I write is hundreds and thousands of lines in controllers, services and repositories. Very little in views.
@dgxo7 ай бұрын
“and as you can see”, shows the code for half a second while scrolling randomly so nothing is visible, “this code is hard to read”
@COArSe_D1RTxxx7 ай бұрын
if you pause, the code isn't even hard to read lol
@novac14 ай бұрын
true
@gonzo1917 ай бұрын
Conclusion of the video: Skill Issue!
@thefreshprince-t4m4 ай бұрын
These days you can take a scrambled egg looking code, and with the help of AI, you may refine that code into a more legible piece of code for the program to run.
@thefreshprince-t4m4 ай бұрын
I love php, php is so cool.
@ripplesr56557 ай бұрын
Just so you know, the entire web development kind of cycled back to the good old PHP way of doing things. PHP is an incredible language.
@MrRaitiz11 ай бұрын
What an awful conclusion ahahaha. Then you have Theo from t3 who hates CORS, because the fkin JS backend framework (Next.js) does not handle the simple flow of CORS elegantly. While PHP frameworks have this functionality built in. PHP frameworks are so much more mature than ANYTHING on the JS side for backend.
@VectorM11 ай бұрын
Php is awesome 💯🔥
@happykc797 ай бұрын
php hater means that they are newbies. PHP is a language you must know if you are a web developer. Almost 80% of websites online are built with php.
@KX367 ай бұрын
20 years ago, you would be right.
@jf35187 ай бұрын
@@KX36 he i still correct. Most websites use Wordpress, which runs on PHP.
@TheThirdWorldCitizen7 ай бұрын
Almost all forums and CMS use PHP, it’s still a very popular language for the web.
@pangzlab6 ай бұрын
PHP is the grandfather of CMS.
@_____18266 ай бұрын
@@KX36 have you check it twice????
@supersambat79897 ай бұрын
they can say anything to PHP, but with PHP I made living
@garikayichinhakwe9209Ай бұрын
I made lots of money through PHP.. More than 80% of web projects are done in php
@JustKatoh11 ай бұрын
I really don't think a language made of a thing should be hated. Everyone hates php because they do not use it properly, it's actually one of the most efficient languages out there, as long as it's 7.4+ Why don't people hate on python? It's unironically slower than php, much slower, but people still write whole stacks in Flask, why? It's a language made for cobbling shit together so that you can test it quickly and prototype not put up in production... Idiots keep complaining about php when they're using php lower than 7 and try and make stupid stuff such as games in it. Idiots love python, even though it's slower than php and use it in production?? What has this world come to? I have 10 years experience in php, java and in the last few years golang... and the only people that like python and hate on php are complete beginners or do programming as a job only and have no passion for it.
@edu_z12311 ай бұрын
and there's the thing that they always compare vanilla PHP with frameworks, e.g flask,spring.... apples to oranges
@minhnhatnguyen820011 ай бұрын
yeah I hate python , it's syntax overly brief
@asdfghyter11 ай бұрын
i don't get what you mean with "made of a thing"? i would rather say that i hate it because it _encourages_ people to not use it properly. it is filled to the brim with footguns, which you just need to learn to avoid if you don't want to shoot yourself in the foot. one of my favorite "features" is the implementation of references in combination with silly scoping rules, which makes this snippet: $a = array('a', 'b', 'c', 'd'); foreach ($a as &$v) { } foreach ($a as $v) { } print_r($a); give the intuitive answer: a, b, c, c we ran into this issue at my previous job and had an issue in production that went unnoticed for over a month where the last item on a piece of user data was replaced by the second to last item 😅 this also reminds me of the frankly insane decision to not differentiate between ordinary arrays and hashmaps, which is just generally confusing and can also lead to some strange bugs yes, python can be bad in many ways, but it doesn't have nearly as many footguns as php does
@asdfghyter11 ай бұрын
@yestechguy-fj9tm at least ts actually has a proper type system. php’s doc-comment types can’t even do proper generics
@MrSMGun8 ай бұрын
@@asdfghyterelaborate
@meme_me7 ай бұрын
bro are you living in 2012 ? also who uses Native PHP for full-stack like the example you showed well unless its for a simple small project
@ExtraNullByte11 ай бұрын
I can get so much done with 10 lines of php code that other languages can only dream of, no compile, no hastle, no binary, just works. does it have downsides? yes, debugging is one of those, but devs debug in prod, so it's all good. Jokes aside, PHP has its downfalls but it doesn't make it any less of a language compared to others, real programmers see it as another tool to get the job done and we pick tools best of the job and sometimes it's PHP. People that hate the language are script kiddies that don't know how to use it, slapping it in HTML and then finding it confusing and then end up hating it, if you have time to complain about a language then you are not doing your job correctly =D
@adosemotivacional10 ай бұрын
A language is just a tool. If you can solve problems with it, than it's good. There's no sense to me in loving or hating a programming language. It's like "I love my hammer, but I hate my screwdriver"
@kieronwiltshire17017 ай бұрын
I can't re-use your analogy, but when you have two languages, one with much better performance and achieves the same results, why would you opt to choose a less performant one? Not to mention something like NestJS/Typescript/JS/NPM has a much larger eco-system and community than PHP nowadays.
@DoctorMGL7 ай бұрын
@@kieronwiltshire1701 here come the lazy glue engineer, the guy who glue " javascript libraries " together and call himself a programmer LMAO I ship 3 php projects by the time you struggle to solve your npm dependency nightmare to get some library working that should exist in the default language. and your not even the person who create those libraries , using other people sweat . get better glue engineer . there still hope for you . PHP is only as good as the developer. If you think it sucks, it's a (( skill issue )).
@iVirtuall11 ай бұрын
this man told a lie in the first sentence y'all haters
@KimberlyWilliamsch11 ай бұрын
Yeah, we all hate you php developer 😂
@hellodefhellow9 ай бұрын
Lol im tired of javascript dependencies so might switch to something like php or rails
@istvanfreifogel44136 ай бұрын
or go
@boner40986 ай бұрын
Nobody says that.
@ritualsoftware65032 ай бұрын
I don’t think the PHP is the issue…
@n4botz11 ай бұрын
PHP is not really or no longer terrible if you stick to the latest versions. And this is said by someone who, over two decades ago, wanted nothing to do with programming at all. Plot twist: The same guy, me, now earns his living as a full-stack dev. 🤷♂A bit like the Cookie Monster from Sesame Street: languages, languages, more languages please. But yes, PHP, like any other language, can be terrible if you only have a rudimentary understanding of it. Nonetheless, an entertaining video and a like from me.
@EnhanceCode11 ай бұрын
Thank you, brother for your constructive comment. I appreciate that you caught onto the humor in the video. I acknowledge that the language used might be a bit strong, but I made a conscious effort to discuss Laravel and its positive aspects in specific situations.
@DEBUGENTITY7 ай бұрын
PHP is the best.. Even next js now using php type routing
@Abdullah-zd5rz4 ай бұрын
Things made me love PHP: 1- Easy to understand 2- Huge community helps you in any problem 3-Easy to install and free to use 4- No fkin CORS problems with node.js 5-Jobs on demand locally and internationally
@arthurminasyan9591Ай бұрын
Blaming a programming language due to either personal inability to work with it or encountering poor code written by a friend...
@Ed.E11 ай бұрын
PHP is goated when you use it right frfr. It's suprisingly powerful
@leonardosilva_dev6 ай бұрын
Was a junior JS developer who made the video, right?
@mastermindinclude71983 ай бұрын
I work with PHP, i love the language. The mix of PHP and HTML got me confusing So what did i do? I used PHP to, make a framework that suited me and my development process. PHP being almost base level, meaning i was able to fix almost any issues i faced but just coding it... i packaged it and i have my very own, personalized; Component Based Modular Dynamically Routable Framework.
@lordadamson7 ай бұрын
I was worried people actually like this video, but the like to dislike ratio gives me hope in humanity
@talatanjum777Ай бұрын
Where is it visible
@arjix873811 ай бұрын
Ok, lets be honest here, PHP 8.1 and above is great, i got no complaints there But when most websites written in it use PHP 7.3 and below, or even PHP 5, things start to get hard. Also, you dont need laravel to make easy to read/maintain + dynamic code for a website, you just need experience in PHP, just like with any language, you need experience if you want to skip the use of any library.
@someverycool455211 ай бұрын
Even with experience though, consider how much value Laravel and things built on top of it add on. I would say that about NodeJS frameworks, that they are a real cluster*uck, but Laravel is invaluable in terms of what it provides out of the box. Database migrations, auth, simple auth views, task scheduling etc, etc. There's no framework for NodeJS that is as of high quality as Laravel is. And I would say that Laravel is highest quality of all frameworks for all languages. E.g. Laravel > Django and definitely above anything that is for Java and others. NodeJS things just get outdated too quickly and don't seem to have that level of care, and it's like they have no idea what they are doing so running back and forth between different paradigms. But your point was that you can still write maintainable code without Laravel, which I agree with, so my tangent is probably not against what you actually wanted to say.
@fayenotfaye11 ай бұрын
Anyone who says it’s hard to understand kinda has a skill issue, there’s barely any abstraction and everything kinda just does what it says
@arjix873811 ай бұрын
@@someverycool4552 I haven't had the chance to use Laravel myself, I got into PHP because I had to make wordpress plugins for the company I work for And I had to write entire backends with WordPress' REST API extensibility. I had to write data validation, data parsing and some other stuff from scratch. (not recommended) All that in PHP 7.1 which doesn't have strict type checking. After a year we finally migrated to PHP 8.1 and it felt so good that I could finally enforce types.
@RealDevastatia11 ай бұрын
@@fayenotfaye Yep. I still use only native PHP and JavaScript with no frameworks. Still using PHP 7.4 too. Never had an issue with it. I saw bugs in early PHP 8 releases that made me back out of it. I want to get things done, not work around issues somebody else created.
@commandstring11 ай бұрын
Exactly this. 8.0+ is amazing. But once I see the version dip below 7.4, I begin to worry for my sanity.
@abdmaster7 ай бұрын
Intentionally showing bad PHP code to prove your point won't make it bad... Compare with PHP8 and a good Laravel project ...
@lucasvillani54847 ай бұрын
PHP has a function for almost everything, is such a mature language
@fred.flintstone409925 күн бұрын
No it doesn't. It doesn't have any function to generate a UUID. It does have CURL for making HTTP requests though but CURL is awful. It does hava json_decode() function but it is so poor that it only deserializes into associative arrays or stdClass, not to your own classes. It has two functions to encode URLs though, urlencode() and rawurlencode(), try to figure out which one to use. Want to work with strings? You have all the normal functions, then you have the mb_ string functions if you want to deal with multi-byte strings (UTF-8). It is awkward.
@entx84916 ай бұрын
When I want to watch something really dumb I watch this video.
@Flinsch777 ай бұрын
When I talk to other people about programming languages, it's actually only the less experienced who complain about certain programming languages (e.g. PHP). Experienced programmers rarely do that. Everyone has their preferences and aversions, of course, but with PHP in particular, I feel like it's mostly just "copycats" who criticize it. May I ask, how experienced are you with (different) programming languages and software development in general, video creator?
@Leonhart_937 ай бұрын
Oh really? Then why is PHP8 + Laravel thriving right now? An excellent language for web servers while also not lacking anything specifically. I never had any issue implementing any kind of logic in it.
@joeyboli7 ай бұрын
1:28 why use a js screenshot ?
@hamzameski32976 ай бұрын
Man Are you sure! You are a programmer? Form template and code logic at the same file. Wtf
@komrander74973 ай бұрын
he doesnt even know how to use a join in sql apparenlty 😭
@Code_Capital11 ай бұрын
All my homies love PHP (we only write code via Artisan commands)
@sirjaf201011 ай бұрын
From what you wrote, you don't have a clue of how PHP works. Educate yourself first.
@Code_Capital11 ай бұрын
@@sirjaf2010 From what you wrote, you have no sense of humour whatsoever. Respectfully, a full-time PHP developer.
@purplevanilla10 ай бұрын
@@Code_Capital bro really made him taste his own medicine
@xldplx7 ай бұрын
@@Code_Capital lmaooooooo
@mosti727 ай бұрын
Love Tinker ngl
@RicardoSilva-hk2er11 ай бұрын
I just have something to say: "No longer deprecated"
@oRhstore-cl8wc11 ай бұрын
nobody coding in php like you showed, noob. php now more better in backend than python or nodejs. It has much feature like java or c# and fast, fastest than python or js. php8.3 is great for your projects and close 99% working needs. So, your opinion is to low
@harshitraheja11 ай бұрын
these gays don't know how to code
@iVirtuall11 ай бұрын
based comment
@arjix873811 ай бұрын
Please improve your English sir. Although I'd like to agree, (I've even made a similar comment), but PHP is not better than nodejs for backend. It may be easier, but that doesn't make it better.
@dawidgrden222711 ай бұрын
The only thing that php lacks is async, there is an async framework called PHPswole but I don't know it's reliability, although if php 9 integrates async it will be nuts and everyone will start using laravel or symphony
@tanzimibthesam586111 ай бұрын
@@dawidgrden2227 there is reactphp Xframework
@JAUSCR7 ай бұрын
more than 70% of all internet. PHP the King!
@fred.flintstone409925 күн бұрын
McDonald's is 70% of all hamburgers, so this means McDonalds is king and have the best hamburgers?
@GelX6 ай бұрын
the code is hard to read? how did you read that simple php login code? from upside down monitor? come on.
@PinnedBeats7 ай бұрын
Amazing video! How much time did it take to edit it? 😮
@3VERone6 ай бұрын
Modern PHP can be written using classes, traits, abstract functions, or interfaces. In conclusion, C#, C++, Java, etc., are not ideal; just replace everything with JavaScript to distort this language even further from its original intent.
@eleinaedelweiss62154 ай бұрын
between js and php i choose php with the bare minimum js stuck into it
@neatkefe3 ай бұрын
The biggest problem PHP ever had is that it's too easy to get started with it. That made a lot of wide spread open source code bases, frankly, shit. Wordpress, I'm looking at you. However, actually working with it full-time, and having tried to use Python, JS/TS and even Rust, I've gotta say that PHP is the perfect blend between simplicity and power. It does not protect you from writing bad looking code, but it gives you the power to build really powerful web apps if you know what your doing. I think the hate of PHP really comes from the fact that it runs differently than Node or Java apps do. Is it better? Depends. But you do need to think about the app in a different way when using php.
@VitorZonho7 ай бұрын
Oh no, give me a bicycle with training wheels, with a helmet, elbow pads and a track made out of a pillow so I don't get hurt when I fall, all because I don't know how to pedal properly and I need devices to stop me from messing up. Please php is very bad because it allows you to create jerry-rig improvisation code, I don't like this I'm going to cry, mom, give me an IDE that will let me know I'm doing it right!! I want warnings please warnings
@RazvanTSibiu11 ай бұрын
As most of PHP is WordPress and Laravel, Python is mostly for AI (PyTorch and Tensorflow) two complete different fields. When you compare it for Web Development, Python with PHP you should compare Django to Laravel then you'll see that bot are almost the same.
@fdssd173611 ай бұрын
Nodejs or golang are simply are better alternatives to php.
@RazvanTSibiu11 ай бұрын
@@fdssd1736 also better alternative to python but the final cost will be enormous. Try do an mvp in golang or nodejs then you'll realise at the end it cost u a lot more. In php you can create faster and performant applications that can handle 1000+ users on a decent server. Nodejs and golang are not mature enought for fast development.
@RazvanTSibiu11 ай бұрын
@@fdssd1736 Also you can have PHP extensions written in golang for more performance.
@Leonhart_937 ай бұрын
@@fdssd1736 NodeJS has absolutely no perks compared to PHP. Not even the performance. And don't get me started on the bloated node_modules, that PHP pretty much completely side-steps by having an incredible STD library.
@RazvanTSibiu7 ай бұрын
@@fdssd1736 I used NodeJS too with a ton of frameworks, it's not even close to PHP. I started a project with a team in NodeJS and In 2 months we decided to switch to Laravel because NodeJS was too limited, bad documented with poor examples. PHP on the other side has a bit weird syntax but for me it doesn't matter. Taylor Otwell took care of absolutely everything to be made easy.
@nathanheath37566 ай бұрын
This is why you use Laravel rather than raw PHP. Much more secure.
@MB-up3mh11 ай бұрын
Use framework like symfony which is pretty much like spring in Java. Same principles applies.
@bdenix19977 ай бұрын
back then like 2008 or so youtube and facebook all had .php on the url so i thought php was the ultimate language for websites :D
@abhishekbhagat93137 ай бұрын
Facebook still has it they just have their own version of it.
@mosti727 ай бұрын
People hide it nowadays, especially if you use a framework like Laravel
@MarcelRiegler11 ай бұрын
As someone having to "DevOps-ify" PHP applications, building a good CI/CD pipeline for it is an absolute shitshow. Dockerizing a web app, for example, is huge pain. The language itself (at least the newest version) is actually pretty nice.
@LuisEduardo-ik3ex9 ай бұрын
I agree with everything you said. PHP is good as long as you only focus on the development part, when we start scaling or dockerizing a PHP application it's really shitty to do that.
@andyhinkle7 ай бұрын
This video is clearly done by someone who hasn't used PHP in 10 years.
@fred.flintstone409925 күн бұрын
PHP 8.4 in 2024, and still cant generate a UUID without a third-party lib, still can't deserialize JSON into a class, and if you want to do HTTP requests you have to use CURL which sucks. 2024 you still cant deal with strings consistently in one way, you have to use the mb_ string functions when dealing with Unicode since they can be multi-byte. 2024 and PHP is about the only language without async/await. You have battered woman syndrome.
@andyhinkle25 күн бұрын
@ what did you say? Sorry I’m too busy swimming in money from client needs. All of these things are easily possible.
@houseandhobby69718 ай бұрын
Python is not good about protection of bugs thanks to its reliance on indentation to dictate code block scope and associated execution. It is a huge mistake to not go with explicit code block terminators as are found/used in php and js and C and C derivatives. One little backspace or tab and you have a surprise to come and possibly a hard time fixing the bug if you did not notice the keystroke quite quickly. Also, try scrolling upward in Python code and having a sense of where you are in the code block hierarchy. Its so true that people love to dogpack hate on something while turning blind eyes to ugliness where its uncool to complain.
@JohnSmith-yl2fh7 ай бұрын
Have you heard of linters and formatters?)))
@aoeu2566 ай бұрын
idendentation is only a problem for people who haven't coded in python...
@chrisalexthomas11 ай бұрын
Everything in this video comes down to two words "skill issue". Shit programmers are gonna write shit code ¯\_(ツ)_/¯
@AlexIsTripping7 ай бұрын
I don't really get the hate on PHP. Its a fast but simple object oriented language that doesn't suck unlike python
7 ай бұрын
I'm proud PHP/laravel dev, and proud react hater. THO i use laravel just as API, so models and controllers, and vue.js at front - i think this is best combination of both worlds! For years i hear hate for php and php is dead - but i'm still waiting for it.
@DanKxxx7 ай бұрын
javascript can be used for backends. Yeah it can, but in an ideal world it wouldn't be, just like using php.
@christophergruendell808911 ай бұрын
It just sounds like you’re bad at php. I learned a bit about php my first couple years of college, and it definitely gets too much hate. All the tools and techniques to make your code easy to read, maintainable, and secure are there. I’m graduated now and work with many languages, but php will always be held in good regard in my opinion.
@johnbrown7722Ай бұрын
If you follow an MVC framework, it can be much easier to track things down. Models being the DB interface and some security, Controllers being the director of requests, and views containing all HTML and CSS so it stays cleaner. Also following the PHP Standards Recommendations make it much more practical and functional.
@eidodk7 ай бұрын
Who is this Ramses Lurdor? The name is Rasmus Lerdorf. Also it seems most if not all serious programming languages are created by danes.
@williamkyaw51610 ай бұрын
I actually agree. I pretty much failed my web dev module in my first year of university. In my second year, we had a team projects module to make a (project management) web app. I thought I was going to stuggle hard time but it wasn't too bad since my friend's used Laravel which was actually very eloquent and quite beginner friendly, at least in my opinion. Tbf my friends helped me out and I did use GPT so I might be a bit biased
@xelspeth7 ай бұрын
While yes you are biased (you are sharing your experience afterall) this is a quite common standpoint on bigger php frameworks (like laravel, symfony etc). This is mainly because they simply have the best documentation
@aakash.pradhan9 ай бұрын
Some people hate PHP, some hate JavaScript, others hate C++, Python etc. Then what do they like? These hate videos are just stupid and confusing.
@AnuragMohan-y6i4 ай бұрын
Having worked as a PHP developer for more than seven years, I believe that PHP is an outstanding language at present.
@fred.flintstone409925 күн бұрын
PHP is probably the only thing you know and you probably never used anything else. PHP is about the only language without async/await, about the only language is only useful for the web. Can you even use WebSocket and Server-Sent Events (SSE) in PHP? Background processing? Making HTTP requests in PHP using CURL is a nightmare. Deserialization of JSON cannot be deserialized into classes. Can't generate UUID without relying on third-party libraries.
@Axelyt036 күн бұрын
Im currently at highschool (we have programming and database classes) and I have been learning PHP for the past 2 years. Having said that, my code (aside from my first web) isn't hard to read at all for people that have seen it, of course my webs aren't rocket science just simples CRUD's with extra functions like filters, responsive user interface, basic feedback and stuff like that. The code that was shown in the video was just a lazy and overcomplicated way of user verification plus the things that should show afterwards like; Users table, specific user data, etc. (most probably made with ChatGPT because of the structure of the code
@peres955926 күн бұрын
Lol im starting junior job as PHP was Java and js dev and never programmed in that but your comments made me much calmer and im looking forward with hope lol
@levett_7 ай бұрын
I'm mainly a JS dev and I don't see how you can find the code at 1:56 any harder to read than React. If you know HTML you can see the structure, even if you don't know PHP at all, if you are a programmer you can surely read the conditionals, loops, you can pick out the SQL which is very human readable... It's not well written but you should be able to read it fairly easily if you have any programming experience. But sure if you zoom right into the page and only show it for a few seconds while scrolling then it is hard to read. You can write bad code in any language. If you take a look at the structure of Laravel it's really well-written PHP that sticks to a strict standard and most PHP developers are using it these days.
@rafa65367 ай бұрын
PHP with Symfony, Stimulus and Turbo is just totally awesome. I recommend teleport yourself into 2024 :D
@kruhlyk_ua5 ай бұрын
PHP still alive for web in 2024 💪🏻
@alexgoldendragon34357 ай бұрын
wait... I thought Js is a client-side script, and it cant send data to the backend? Im learning about web development rn and im quite new. Which server-side script should i use to send datas the the backend except for PHP? btw i havent even sent datas to the backend by PHP before :)
@barry57 ай бұрын
Use nodejs, bun or deno if you want to run JavaScript on the server. NodeJs is the oldest so it has the most guides and support. Bun is basically just faster nodejs, but its not fully compatible with everything yet. Deno is kind of doing it's own thing and trying to fix all of the design mistakes node made so it's not quite as compatible with node and has less packages for you to use. Tldr; use bun or node. Which one you choose doesn't matter much, they both basically do the same thing. Bun is just faster while being slightly less compatible with old libraries.
@alexgoldendragon34357 ай бұрын
Tysm
@mosti727 ай бұрын
Learn both PHP and JS, and decide which you prefer more
@arghaghosh55616 ай бұрын
Hello I am from India . How much do you make as a WordPress developer in Europe?
@aaronza72188 ай бұрын
The language that many years ago and to this day many are saying it is dead. But still kicking. Why is PHP so popular?
@ayorus7 ай бұрын
This video makes me remember that music from Nivana: smells like skill issue spirit.
@MrAndreaGero7 ай бұрын
I just use PHP because of Laravel, if the creators of Laravel move to another language, I'll probably follow them
@hermawanho69623 күн бұрын
PHP has the best tutorial also a very friendly community, that's why it still alive until today. Every programming language should like PHP, provide good tutorial and examples.
@fcnealvillangca79439 ай бұрын
The hate for php feels more like trolling sensitive dev nothing to do with php itself
@DoctorMGL7 ай бұрын
i'll tell you why they hate it , php haters are a lazy ( glue engineers ) , we give them this name because they don't actually ( program ) . they glue " javascript libraries " together and call themselves " programmers " LMAO PHP is only as good as the developer. If they think it sucks, it's a (( skill issue )).
@j.r.r.tolkien872411 ай бұрын
I don't get the whole "PHP is easy" argument. Never found it easier than something like JavaScript. The $ is so frustrating as well as -> and other syntax.
@someverycool455211 ай бұрын
Do you think it would be easier to develop a full stack application using NodeJS vs PHP?
@j.r.r.tolkien872411 ай бұрын
@@someverycool4552 That's exactly what I think. Don't you think it's easier to spin out a server in seconds using NodeJS than it is to set up something like Apache? I mean to a complete beginner. To me it's pretty obvious.
@crabort11 ай бұрын
Depends on what you're using in PHP/Node. Node makes it easy because of all the packages, but then you don't have a fundamental understanding of the code you're using. Apache is installed on almost every Linux machine by default, so it is fairly easy to get started. If you're installing on Windows, you still need to go through setup of Node, the same you would with XAMPP/WAMP
@someverycool455211 ай бұрын
@@j.r.r.tolkien8724 I haven't done PHP in 5 years, and I have been on JS ecosystem since then, but I still feel like PHP is easier, faster and more productive to develop with. The thing about each request being a separate run, is one of the things that makes it actually very easy. When an error happens you know why. For example with Express if you have async things going on, promises, etc sometimes it's really difficult to understand how it happened. Express doesn't really handle errors out of the box very well. It seems like in order to get to the first hello world, both are fairly similar.
@j.r.r.tolkien872411 ай бұрын
Is there an axios equivalent in the PHP ecosystem? I don't know much about it. As far as I recall, when I tried PHP years ago I had faced difficulties with xampp on both linux and windows as well as WAMP. You'd think that it's easy for a beginner to get things running but nah, it's not just about installation. @@crabort
@timurrte569411 ай бұрын
Well well well. It's still better than JavaScript
@felixakingbulu5887 ай бұрын
Does it foot the bills?
@zayne-sarutobi11 ай бұрын
Never laughed this hard at programming humour since Fireship!😂😂 Definitely here before this channel blows up🌝
@LarryGarfieldCrell3 ай бұрын
If you write a big pile of mixed HTML and PHP like that, it's obvious you're not a PHP programmer. Seriously, no one even remotely competent does that anymore, and hasn't for 20 years. You may as well write a C++ program using 100% global variables and then whine that C++ has poor state management. It would be about as meaningful and accurate of a statement.
@PawanLovesCSS7 ай бұрын
Have you ever heard about laravel?
@cookiebinary7 ай бұрын
This video confuses me. Is this a weird way of sarcasm? :D Or is the author really just a simpler individual? I really don't know ..
@orcofnbu11 ай бұрын
most of php haters, hate from old php. but things changed after 7th version of language. it is more strict then js right now. php is best way to develop modern web apps. more strict and clean then js. cheaper to host than everything. modern enough to work with modern frontend frameworks. it has wide enough userbase to employ coders for it
@dawidgrden222711 ай бұрын
Exactly a lot of people miss this concept, really cheap hosting, you could host a blog for a client on a shared hosting for 60$ a year, plus you have to start somewhere, php is not much different than other OOP languages except for the lack of async which is managed in a different way, Node is indeed scalable but requires proportional amounts of hardware power for scaling.
@GLT-fk7bg8 ай бұрын
and they never coded in php more than what w3 school provides
@vladimirandrushchenko292611 ай бұрын
I think that people should study the job market in their country before making a decision on what technologies to learn. You can spend a lot of time learning some js (inarguably the most popular language) obscure framework and end up not being able to find a job.
@crabort11 ай бұрын
The trick is to learn something that isn't in high demand, but has demand. High demand, means more people are likely to know it better than you do. Lower demand, means that its not as common. Learning COBOL right now would be an almost astronomically dumb idea, unless you land that one job that's hiring for it and you make WAY more than any JS/PHP dev doing it.
@dvanwyk91877 ай бұрын
I have worked with PHP professionally for around 16 years. It looks like you know little to nothing about PHP since your generic arguments are based on what junior devs would have done in PHP 4 over 20 years ago. PHP 8 is better than a lot of modern programming languages in 2024.
@williamkyaw51610 ай бұрын
0:21 AYOOOOO G2 WUNDER
@glennraya5 ай бұрын
The PHP code samples are like how you write PHP 10+ years ago (Yeah I remember). PHP is so different now. This is misleading. 😅 Anyway, you got the views though.
@MarkKevinBesingaWebDevАй бұрын
So, why do you hate it, exactly? Because from the comments here, it looks like not everyone is on the 'PHP hate train.' I mean, I haven’t touched PHP in years, yet somehow I’m still excited about its update. Compared to the usual JS/TS or Python BS, PHP is still rocking the backend game. Guess not everyone can handle that energy, huh?
@Gregorius4217 ай бұрын
2:00 nobody writes php like that, that's an antipattern. Don't write business logic into templates. Any other templating lang would be unreadable if used like that. Bad argument, but doesn't affect the outcome: php is a language built from shit, it's shitpile, even if by now it runs with reasonable performance.
@epic-random-gaming-stuff6 ай бұрын
Writing clean code depends not on the language but on the person behind the keyboard. I've been a developer for 20 years, and yes, there are services we write with PHP 8. It's fast and straightforward. You can certainly code it like the example in the video where you're mixing HTML with PHP, but you also have the capability to make it clean. Instead, you can use React and HTML on the front end and send an HTTP request to your PHP-powered backend service, where you can implement highly robust and clean code with all the bells and whistles of today's most modern programming languages. I don't understand the example in the video; it is biased towards a poorly implemented architecture that existed 10 years ago. That said, I've also written apps in Java and Python and I can confidently says that no language can automatically fix if you're a terrible developer.
@komismo5 ай бұрын
I custom compile PHP, its fast if you know what you're doing.
@arsvi12311 ай бұрын
I have a soft spot for PHP as it was the first language I learned. It's not a good language, it's general lack of structure and strong convention lets it down a lot. Doing things the 'right' way is often unintuitive when compared with doing things the inefficient, insecure way. Combine that with often inexperienced developers (of whom I was one, I must admit) and you get some really awful code. However it does deserve credit in that our modern web would likely not exist in it's current form without it, PHP has been 'dying' for as long as I remember, and while it is certainly in it's sunset phase it's longevity is a testatement of it's value. For a long time there was no good alternative, and for all it's faults (of which there are many) it did get a few things right, such as keeping your HTML code close to your rendering logic (one of the main reasons behind success of React imo) allowing for easier development. While I would not go back to working in PHP and it's certainly an outdated language that should be allowed to `die()`, it's importance and is often under-appreciated.
@Leonhart_937 ай бұрын
What do you mean lack of general structure? It is a very complete language. It's my job to write thousands and thousands of lines of it, and I would have never made it if its ability to structure large pieces of code wasn't good. It realistically lacks nothing. It can be structured in an OOP way or purely functional or both. Everything is just so easy to use and the performance these days is actually really great. I would say definitely better than nodejs.
@montebont11 ай бұрын
PHP is fine for me to serve data. You can do a lot of things with 5 lines of code. And opposed to many alternatives (so called "frameworks") it is very well documented
@lucassenandelopez63247 ай бұрын
I didn't know know anything about php and I am not interested in webdev in the slightest but what I got of this video is that it doesn't deserve the hate. You described a programming language used for one thing and that's it; you cannot judge a fish on it's ability to talk
@ChrisHorneVL11 ай бұрын
People say PHP is terrible because it's the cool thing to do. The frameworks back in the CI/YII/Zend days yeah they were pretty rough, but that's not the language. It's like saying spanish is a bad language because you don't like its syntax or how it's structured or how people use it.. or maybe you just don't like how Que eso? sounds like cheese.
@KingGisInDaHouse10 ай бұрын
If I had a $ for every time I used a variable in php… oh wait never mind lol
@balloftitanium39617 ай бұрын
I'm. a NET dev, what I can say is it depends on your use cases. Php is good enough to serve data on most application. But if your app required more comprehensive, real time or thread critical,. NET ftw. As it is built for more complex structures and performance especially if it required to access windows os resources.
@mosti727 ай бұрын
You can technically compile PHP to dotnet (C#), although I've never tried it so idk how complicated it is to use the tool
@balloftitanium39617 ай бұрын
@mosti72 are you sure about that? so it can convert DI, middleware pipeline, services, identity, ef core & those. net special features to the php?
@mosti727 ай бұрын
@@balloftitanium3961 like I said, I've never tried the tool, so I can't vouch for it, but if you're curious, the name is peachpie. It's on GitHub.
@New-ei8qpАй бұрын
I could write bad code in any language and go "see, look, this language is bad", which is what you just did.
@piadas8042 ай бұрын
The main reason I want to learn PHP is because my school requires it.
@genechristiansomoza493111 ай бұрын
I love php
@R_Y_Z_E_N6 ай бұрын
Laravel is actually very good for a medium scale project and out of the box it has lot of features than node js
@shahkey2793 ай бұрын
Clean organised code and logical scaffolding could be any language strong point. A tool is a tool depends in the skilled hand of the user so I am done with haters and lovers.
@Totallynotmwa8 ай бұрын
Should i learn node.js instead
@joeyboli7 ай бұрын
avoid that hype trap you will regret it.
@Totallynotmwa7 ай бұрын
@@joeyboli Agrred but most frameworks use node
@tachikaze.7 ай бұрын
@@joeyboli why trap?
@olhoTron7 ай бұрын
Php is bad on purpose! True story: someone wrote a RFC to bring block scoped variables to the language and they rejected it saying it would incentivise longer functions and make code unreadable (wtf?) they also said they dont want to bring new keywords, meanwhile they add a lot of new keywords with every release just to try and imitate java's OO while neglecting the small things the make a big difference