PHP - Why Coders Hate...

preview_player
Показать описание
PHP is great for being able to easily create web apps that work. The problem is that it also easy to create code with major vulnerabilities that is a mess to read and try to audit. Many times PHP is used by desktop support technicians to create apps to track department inventory, or work orders that after a few years get coopted by the rest of the company and are being used at a scale never envisioned when the technician was copy/ pasting from a dummies book to make the code work.
Рекомендации по теме
Комментарии
Автор

I am currently that "intern" that is learning PHP to slap together an inventory management system for my department. We already have other departments wanting to add their data to ours. I was giggling the whole time relating to the story.

delnoth
Автор

I was evading php for years as student. My first job offer was php, I declined I wanted to do backend with python or c#. Guess what, I'm currently interviewing for php position lmao

PsychoTaker
Автор

gettype(), get_class(), isset(), is_null()... beautiful consistency 😍

lemongrapesfilms
Автор

Every time a magic combo of "easy/productive" programming language comes up and gets pretty popular, all the "professional developers" that take pride in making "good" software "the hard way" belittle it and start a campaign of badmouthing that can last for decades and kill entire tech stacks

There is a whole history of perpetual developer snobbery: COBOL guys dismissing PL/1, PL/1 dismissing C, C-shell dismissing bash, emacs dismissing vi, vi dismissing nano, dBase dismissing FoxPro, C++ dismissing VB6, Java dismissing C#, Flash/Silverlight dismissing HTML5, CORBA dismissing SOAP, then SOAP dismissing REST, native mobile devs laughing at html5 mobile apps, and so on.

History doesn't repeat itself, but it rhymes over and over again, as if us developers can't stand to not feel like a "genius", so when an easier approach comes up and gets popular, the first step is to belittle as much as they can to keep feeling special for managing their behemoth of a toolkit that "only us" can understand. PHP has suffered from this for many years, but keeps getting stronger and more popular as well LOL

gadget
Автор

I learned to program about 6 years ago from your unity videos. I still remember how amazing it was to have those first games run. Since then I have learned more than 20 languages and even though I have drifted away from unity and game development, and more into node and backend web dev, game development will always have a special place in my heart. Thank you for making these awesome tutorials years later for new people to try and experience the same thing that I did.

StarsiteProgrammers
Автор

Thanks for expressing this so well. Definitely my go to video to explain this phenomenon.

mmh
Автор

You can write horrible code in whatever language of your choice, I mean, that argument at least is not very solid.

leonardopinzon
Автор

Hi Eli. My relation with PHP has been as a roller coaster, sometimes I'm glad to work and study it but sometimes the language is not neat and prone to making mistakes in my case. I tried to understand more structured languages to apply similar concepts with PHP and I'm glad to say it has been working. Despite of PHP has been condemned by developers, it is widely required by small or medium-sized corporations and its maturity turn into an important technology that even ranks the most important positions among surveys.

santiagocorrearestrepo
Автор

I'm happy to see that you're still around! I used to watch your very first videos in that basement with the train as background noise :-D (When emojis looked like that, too)... I had some doubts with php and remembered you, I'm happy that you found a way to monetise your content and that you're still creating it!

brucethomas
Автор

Php is great language for web development ... and love it.

emperoroftheearth
Автор

I'm exactly the guy you spoke about in the video. I am currently moving to a small company to work in a education management system and the guy before me said in my interview that the code base was really messed up and it was easier to write another one from zero using another language than php. However, the CEO agreeded in creating the system with another language after implementing the new feature the system needs, so I'm quite happy

Edit: if I wrote something wrong, please tell me. English is not my mother language. Thank you

bernardocarvalho
Автор

ELI IS BACK!!! Keep it up man, missed your educational videos so much.

romany.
Автор

PHP is a valuable language and the low entry point is a massive asset to it! you just need to know what you're doing when you accidentally start a dev shop with it! :)

neptronix
Автор

The apparent ease of programming in PHP gives the impression that anyone can develop. This is the problem.

Neodynium.the_permanent_magnet
Автор

Writing php apps using Symfony or Laravel is almost the same as writing Java apps with Spring or C# with Asp.NET .. everyone saying PHP looks bad has never written it using a framework..a REST Api nearly looks identical from design pattern point of view and the corresponding code. And I've written all three for 5-10 years now... so please dear hobby programmers, don't judge what you don't know. This especially refers to the nodejs World, where front end js devs think they know anything about Software Engineering and Development..

pgful
Автор

Good work buddy..keep doing the good work🔥🙏

morrismunyu
Автор

PHP is the beginning of a journey for many people. PHP is fun. PHP is something that is accessible and can be explored. That being said, new PHP developers typically do not see the long term problem with mixing the bulk of their logic with their views. Newer PHP coders tend to not be software engineers. They do not have the benefit of thinking "maintaining code like this will be harder if it's all mixed together." PHP has a results based culture that over time has tried to put more attention on best practices (OOP, PDO, etc ...), but this has not stopped many from making single page, procedural, SQL/HTML/PHP code mixed together, websites (that work!).


Someone that knows the ropes does not architect their projects like this. Architecture and modeling is what's missing from the results based PHP culture. This has been outsourced to MVCish frameworks.

delturge
Автор

php lover from Argentina. Good Channel eli. Cheers !

flan_
Автор

I love PHP. Writing readable code is a problem caused by the writer of the code, not the language. I can write unreadable code in Python too. Someone shouldnt blame the language for writing bad code. I will use the language for web development as long as it is supported.

testaccount-tsnv
Автор

Thank you Eli! I watch a lot of youtube. Your teaching videos make me smarter. Honestly, a lot of youtube videos that I watch make me dumber. Lol

Gandoff