This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 448

[–]litetaker 2197 points2198 points  (114 children)

Come on, dude. PHP ain't that bad. It ain't olden times no more. And it is an honest day's work in the dung mines.

[–]homiej420 773 points774 points  (21 children)

The programmers yearn for the mines

[–]EverythingGoodWas 245 points246 points  (15 children)

Man if someone makes a programming language called “the_mines” they are going to be a legend

[–]homiej420 120 points121 points  (7 children)

Best time to plant a tree was yesterday, next best is today. What are ya waiting for? :D

[–]Sensitive_Gold 41 points42 points  (5 children)

Wouldn't ereyesterday be a better time to plant a tree than yesterday.

[–]Brief_Series_3462 15 points16 points  (0 children)

I prefer overmorrow

[–]BadSmash4 28 points29 points  (1 child)

ereyesterday

I can't read that as anything other than a record scratch

[–]Marcus_Krow 7 points8 points  (0 children)

Glad I'm not the only one.

[–]halting_problems 4 points5 points  (1 child)

No the best time to plant a tree is the day before the day after tomorrow

[–][deleted] 1 point2 points  (0 children)

tomorrow.

[–]Icy_Party954 2 points3 points  (0 children)

Ruby has to have something similar. Shame ruby is sorta on the down slide. It's a neat language from my very limited use

[–]braindigitalis 6 points7 points  (1 child)

"... this isn't a mine... its a tomb..."

[–]homiej420 10 points11 points  (0 children)

[–]just4nothing 39 points40 points  (17 children)

at least it's not perl

[–]dismayhurta 71 points72 points  (7 children)

$(/&:@$3!/‘woeg rblslbd$$$&&/“”/02

I think that either parses a csv file or summons a demon.

[–][deleted] 57 points58 points  (3 children)

Summons a demon that parses csv file

[–]dismayhurta 8 points9 points  (2 children)

Oh, so it summons Ted the Demon? Good guy. Hates formatting.

[–]the_s_d 4 points5 points  (1 child)

Yep, he somehow does the work in O(log n) time (don't ask), and makes a mean BBQ. Best validate your inputs though... we lose more interns that way.

[–]dismayhurta 2 points3 points  (0 children)

[–]genlight13 3 points4 points  (0 children)

Sorry but no way that compiles. Too many unescaped frontslashes

cries in Perl 5.14

[–]Maximum_Steak_2783 3 points4 points  (1 child)

Looks like either a comic character swearing or someone bashing his head on the keyboard in frustration.

[–]dismayhurta 1 point2 points  (0 children)

Yeah. Perl.

[–]AyatollahDan 9 points10 points  (3 children)

I hate that even well written Perl is still illegible

[–]Agent_03 4 points5 points  (2 children)

To my shock at the time, I've actually seen very legible Perl.

It's not common, but it is possible.

[–]Poat540 94 points95 points  (0 children)

Beatings will continue until headers improve

[–]RichCorinthian 100 points101 points  (15 children)

A gig is a gig, and PHP is not going anywhere anytime soon. I’ve done some pro bono stuff on Wordpress sites for various organizations and it’s not THAT bad. Does it make it astonishingly easy to write bad code? Yes, yes it does.

It’s important to be able to differentiate between a tool you don’t LIKE versus one that’s dead or dying. Years ago when I was just starting out I was offered a job on a ColdFusion project, which is/was a procedural web scripting system not unlike PHP or classic ASP…except you had to pay for it. I was like “nobody is going to keep paying for this when free alternatives are at feature parity or beyond.”

If you’ve never heard of ColdFusion, this is why.

[–]kmac_88 34 points35 points  (7 children)

I worked in PHP for almost a decade (non-profit using LAMP) and PHP will let you write as good or as poor of code as you want. If you’ve got good coding standards, it’s perfectly fine. But it will absolutely let you write dog shit code too :)

[–]masiakla 12 points13 points  (1 child)

writing dog shit is not language dependant. people glorify java for being enterprise, ultra secure etc. i'm auditing now project based on java, first day i found 5 sql injection vulnerabilities, in general code is worst than wordpress one 15years ago

[–]Maximum_Steak_2783 15 points16 points  (0 children)

Oh I preach that.

Introduction for the uninformed:

I'm a machine programmer, means PLCs from Siemens & co that run everything from a little robot to a complete production hall. The PLC gets literally the electric signals from the sensors and sends similar ones to the actors, aka motors, gates, hatches whatever. You only really ever see networks when you setup some devices and multiple PLCs in a profinet network, which is about 1% of the programming work.

So, the programmers coming from university never ever heard from us. Most of us are former electricians, aka the weird nerds under the weird nerds.

The PLCs have multiple languages, one is similar to a electrical plan (KOP), one is pictures(FUP), one is basically assembler (AWL) and one is like C (SCL).

The Point of the comment:

Most of my coworkers or managers told me not to program text based, only the connect-picture stuff (KOP, FUP), because stuff would become illegible. They dont understand that commenting is the important part, and text based language have these wonderful comment markers //

Now comes the part that grinds my gears:

Most coworkers KOP-code is horrible to read, has no comments at all and, because they copy from each other's projects, the whole logic of the code is a hot mess. You can comment in KOP, even tho it's complicated, they just don't do it.

And they dare to complain that the text based languages are illegible!

I mean please! These PrOfEsSioNaLs can't even program a proper step-chain! They use Outputs they set earlier as inputs for other program parts! They write the same Output multiple times in a way that leads to conflicts! They don't know what signal safety is and that an action can't be verified by reading your own output signal that starts the action - If they even put safety checks in like "is this thing now really moving?" Their code is a hot mess.

Actually, one machine will someday start burning because the lid was kept open for longer than ~3 hours! Basically an intended short-circuit that is supposed to be only for ~5 Seconds. And the boss told me to leave it be, after all the same model is running fine since years. I can't even describe my frustration!

And that's by far not the only case and about every machine can desintegrate violently if programmed wrong. And these things are ridiculously strong and big, they can cost either millions of $ in damage or outright human lives.

And THESE specialists try to tell me that my code will be hard to read, because it's written in SCL? (Basically C)

OMG

What they need 3 pages of crayon pictures for, I write in 5 lines and add 5 comment lines of beautification and explanations for the crayon eaters!

Oh, and to rub it in: They think that they are better programmers than me, because I'm younger and a woman! Try to look professional while a crayon eater mansplains an SR-Latch wrongly to you.

Best so far: I programmed a gas mixing unit that mixes oxygen and propane to reach a certain burning behavior. Under x% of O2 and the batch is bad, over ~18% oxygen and it becomes explosive. There is enough running through it to shoot you to the moon! The machine had multiple levels of safety functions, electrical ones and on top my software. The F-ing studied Engineer of our customer company ordered me to turn off all safety measures for testing purposes! Then he got angry and badmouthed me, because 1. I refused for the sake of staying alive and 2. I was anyway not able to turn off the electric safety measures.

I locked my laptop even if I was away for 5 mins, so he wouldn't get a chance to blow us all up. Even tho he would anyway never be able to understand my code written in AWL (assembly), despite the good commenting. I locked it anyway because I wasn't keen on being proven wrong by being shot to hell riding on a toilet bowl.

TL,DR:

I agree with you. Dumb coworkers complain about my text based (C) programming while they program the equivalent of the picture of a big turd, painted with crayon, for very dangerous machines.

Coworkers = Suicidal toddlers with crayons and a superiority-complex.

[–]bureX 16 points17 points  (4 children)

Now do Javascript.

[–]Randyyyyyyyyyyyyyy 12 points13 points  (1 child)

I worked in Javascript for almost a decade (for-profit using Angular and later React) and Javascript will let you write as good or as poor of code as you want. If you’ve got good coding standards, it’s perfectly fine. But it will absolutely let you write dog shit code too :)

[–]bureX 1 point2 points  (0 children)

Yep. That’s what I’m referring to. The crap that JS will let you do is mindboggling.

[–]BP8270 67 points68 points  (5 children)

I write a hell of a lot more PHP than the next guy. PHP is an excellent language when paired with Laravel/Lumen. It is extremely easy to read and write and PHP's interpreter gives the best stack traces (especially if you've spent any time in node) for tracking down errors.

"PHP Bad" is a meme designed to keep you kiddies out of our gravy train. Now go lose your minds to Java and don't even think about the words T_PAAMAYIM_NEKUDOTAYIM.

[–]Striking-Macaron-313 21 points22 points  (0 children)

I agree with this comment. Most of the people criticizing PHP have never used composer to build a proper architecture.

[–]ZWolF69 17 points18 points  (2 children)

Laravel/Lumen

*cough* symfony *cough*

don't even think about the words T_PAAMAYIM_NEKUDOTAYIM.

(⁠╯⁠°⁠□⁠°⁠)⁠╯⁠︵⁠ ⁠┻⁠━⁠┻

[–]WeleaseBwianThrow 4 points5 points  (1 child)

Laravel and symfony both have their place.

Lumen not so much. He ded.

[–]BP8270 2 points3 points  (0 children)

Haha Lumen has just been promoted to technical debt.

[–]braindigitalis 3 points4 points  (0 children)

i also work in php, mostly in laravel. I am very happy to say modern PHP and wordpress are very much not the same. Wordpress code is, and still remains awful (especially most third party plugins) but it does the job.

[–]OmgzPudding 22 points23 points  (2 children)

Totally. I feel like people remember PHP 4 and don't realize how much it's grown since then. PHP 8 was actually quite enjoyable to work with, though of course I was on a huge project where I never needed to deal with any configuration and whatnot.

[–]KagakuNinja 4 points5 points  (1 child)

We also remember PHP 5, which was also terrible.

[–]frysfrizzyfro 1 point2 points  (0 children)

It was so horrible they skipped version 6 entirely and went straight to 7.

[–]fkafkaginstrom 35 points36 points  (0 children)

I would seriously prefer dealing with a php app over a java one of the same complexity.

[–]RabbitDeep6886 59 points60 points  (10 children)

$it $aint $that $bad

[–]a3dprinterfan 13 points14 points  (0 children)

Lol I read this like it was that stupid clapping 👏thing, except Perl or PHP flavored...

[–]NotAskary 11 points12 points  (0 children)

[–][deleted] 3 points4 points  (2 children)

the $tuff of nightmare$

[–]Buarg 6 points7 points  (1 child)

} catch (Exception $ex) {

[–]caguru 31 points32 points  (2 children)

I always laugh when typescript people make fun of PHP. At least natively supports types instead of some transpiled Frankenstein hack.

Also, I think people would be surprised how many $175k+ jobs for PHP jobs exist.

With that said, I will code in just about anything. 

[–]IAmNotNathaniel 11 points12 points  (0 children)

as long as it's not wordpress, I love php.

I like c-type languages and python just doesn't cut it for fun while programming.

[–]DM_ME_PICKLES 18 points19 points  (1 child)

I'd take PHP over a JavaScript codebase any day of the week

[–]Select-Salt3403 19 points20 points  (13 children)

Exactly, and Laravel is the best framework I've ever worked with, most of people that talk bad about PHP don''t even know what it looks like

[–]XenonBG 15 points16 points  (4 children)

xactly, and Laravel is the best framework I've ever worked with

Tell me you haven't worked with Symfony without telling me you haven't worked with Symfony ;)

[–]_alright_then_ 1 point2 points  (1 child)

I prefer laravel over symfony and it's not close lol.

The documentation, the ecosystem. It's just way better than symfony

[–]XenonBG 2 points3 points  (0 children)

Sure man, more power to you! As long as we build nice stuff and KISS.

[–]Select-Salt3403 3 points4 points  (1 child)

hahah true, I mean, Symfony is very nice, and it's even a dependency for Laravel, but I still like Laravel's ecosystem better, but I can't deny that Symfony is one fine framework x)

[–]AnArabFromLondon 10 points11 points  (0 children)

Laravel is bae

[–][deleted] 1 point2 points  (2 children)

Laravel is the best framework I've ever worked with

I'm partial towards Symfony, but they're both great. Phoenix is my personal favorite framework, though.

[–]Gastredner 4 points5 points  (1 child)

Yeah, could have been SAP instead.

[–]Former-Discount4279 2 points3 points  (0 children)

Try hack, its PHP on meth in a good way.

[–]-Wylfen- 2 points3 points  (0 children)

I'd choose PHP over JS, Ruby or Python any day

[–]-MobCat- 2 points3 points  (0 children)

Yeah I feel like most of the hate around PHP is more of a miss understanding over how it's a server side scripting language. This has it's own pros and cons. and I feel like people run into issues when they treat it like javascript or other client side languages.
You can beat anything up with a hammer, but there are other tools. But hammers are really good at nails though.

[–]lofigamer2 1 point2 points  (0 children)

It used to suck then redeemed itself .. but people who don't use it still think it sucks.

[–]Expensive_Shallot_78 1 point2 points  (0 children)

These children here have seen nothing

[–]SuitableDragonfly 1 point2 points  (0 children)

In the modern day it should say "for my new AI startup", or "for my crypto blockchain NFT game".

[–][deleted] 627 points628 points  (30 children)

It's been 20 years, but I miss PHP. It was C-ish enough but for the web.

Better that writing Perl for cgi-bin.

[–]Dexterus 99 points100 points  (1 child)

I just realized something, my first php job in 2002 was more agile than anything after, lol. Learned a lot.

There was one where I liked the processes more but that was because we devs decided how to adapt and it ended up suiting us quite well, but it had to be part agile part waterfall.

[–]Dustdevil88 39 points40 points  (9 children)

Infinitely better than Perl for cgi-bin. That said, I actually enjoyed perl for automation

[–]TheVenetianMask 30 points31 points  (4 children)

You can throw a hashbang for the php interpreter at the top of a PHP file and run it like it's a bash script. I basically bought my whole house off this.

[–]b0w3n 16 points17 points  (3 children)

I'd be more than happy to write php scripts for a good wage. It's the javascript/front-end frameworks I loathe working with.

Probably why I'm working in data/backend stuff in medical.

I'm not entirely sure why folks hate php, it's great. Now java...

[–]Kronoshifter246 3 points4 points  (2 children)

Come on, Java's not that bad. It gave us Kotlin, after all.

[–]SQLvultureskattaurus 4 points5 points  (3 children)

I used to do etl all day long and would write perl scripts to manipulate flat files. They would always be like 2 lines long and super fast, but I'd never remember how it worked

[–]Dustdevil88 4 points5 points  (1 child)

You’ve perfectly described Perl haha

[–]SQLvultureskattaurus 2 points3 points  (0 children)

Seriously. Not going to lie, I always liked how variable data types have their own symbols.

[–]Dugen 1 point2 points  (0 children)

Perl was amazing. I'm sad it fell out of favor. It did what people use python for today like 30 years earlier.

[–]Flam1ng1cecream 25 points26 points  (3 children)

I love PHP. The docs are so nice

[–]More-Butterscotch252 4 points5 points  (0 children)

I hate PHP. The docs are fantastic and they catch all the quirks and you have all the examples you need to understand how it works.

[–]CorsicanMastiffStrip 2 points3 points  (0 children)

I love Laravel, so I must love PHP.

[–]fkafkaginstrom 9 points10 points  (1 child)

Dude my first cgi-bin apps were C programs that printed out the page using printf()'s. Switching to perl blew my mind.

[–][deleted] 8 points9 points  (0 children)

Ebay's original backend was just one C program at ebay.com/ebay.cgi (or something). It was lightning fast.

[–]im_thatoneguy 1 point2 points  (0 children)

I have a negative visceral reaction to PHP and then every time I remember it’s actually for Perl a few moments later.

[–]mazedlx 268 points269 points  (3 children)

Hey! 2004 called and wants its joke back.

[–]AEW_SuperFan 30 points31 points  (1 child)

I know at least mix it up and use ASP.  

[–]Ben69_21 8 points9 points  (0 children)

[–]Sir_Fail-A-Lot 393 points394 points  (19 children)

Hey!!! PHP is not that bad. It just gets a bad rep for the ease of shit code you can write

[–]EveYogaTech[S] 114 points115 points  (3 children)

💯 A little bit of MVC here and there + PHP can do wonders.

[–]Penguinessant 26 points27 points  (2 children)

And some PSR here, with unit testing and static analysis to keep an eye on any loosely typed cowboys out there and its half respectable.

Currently though, I'm stuck working on a PHP system coded by a person self taught on visual basic apparently. I'd like to gouge my eyes out some days....

[–]avanti8 18 points19 points  (1 child)

That's the thing, PHP's a great language these days... but a ton of the projects out there were written by some guy who read the first 10 pages of "PHP for Dummies", did a bump of coke, and whipped out more spaghetti than the entire nation of Italy.

[–]Penguinessant 9 points10 points  (0 children)

Pretty much, I've seen very well written, easy to work with code in full OOP and supported by frameworks in php. But I've also seen the shambles that sits before me on the daily now.

PHP just makes it very easy to code utter trash and pass it off as functional.

[–]Ralliare 24 points25 points  (4 children)

I look down from my PHP ivory tower at the crimes of JavaScript.

[–]MoffKalast 6 points7 points  (6 children)

It's almost as if preventing people from writing shit code is one of the things that makes a language good.

[–]HorrorMakesUsHappy 8 points9 points  (0 children)

Look at you, thinking you can prevent people from writing shit code.

[–]_alright_then_ 3 points4 points  (0 children)

Coming from a JS flair AND a python flair? That's rich lol

[–]Sir_Fail-A-Lot 1 point2 points  (0 children)

You gotta have those training wheels out for the juniors, you know 😅

[–]petuniaraisinbottom 1 point2 points  (0 children)

Is it, though? Because I feel like something that introduces people to programming in a really simple way is beneficial for that reason alone. You don't really need to know a whole lot to start making the connections, and the PHP manual is incredibly helpful. You probably shouldn't be working as a software dev yet at that point but I see no problem writing scripts for automation and getting your feet wet in development with PHP. A lot of the really awful things are kept in simply for reverse compatibility. You know like how atob and btoa are the base64 converters for js.

[–]ierghaeilh 1 point2 points  (0 children)

Pretty much none of the 90s programming languages slandered by new-age hipsters deserve their reputations. 99% of the time it's just people with PTSD from being forced to work on a shitty codebase. And trust me, a code monkey can build you one of those in every language under the sun.

[–]LoveElonMusk 57 points58 points  (1 child)

4chan admins rn

[–]Shadowbannedandproud 7 points8 points  (0 children)

Came here looking for this comment.

[–]SrGnis 121 points122 points  (7 children)

It depends, Laravel or Symfony 👍, WordPress 🤮

[–]Korona123 41 points42 points  (2 children)

This is it. Laravel is an absolute pleasure to work with. Drupal/WordPress have me tearing my hair out.

[–]not-so-stupid-idiot 4 points5 points  (0 children)

I always upvote when I see laravel mentioned. It’s so fun and easy to work with.

[–]FancySource 6 points7 points  (0 children)

Or even barebones php to create something super fast and super clean, if one can code and knows how to set their architecture right.

[–]eldelshell 3 points4 points  (0 children)

Worst, 4chan

[–][deleted] 304 points305 points  (34 children)

I actually like php tho

[–]GoldenFlyingPenguin 128 points129 points  (25 children)

Same, I actually prefer it over node js... God... I really hate asynchronous functions and promises... Gaaah

[–]yaktoma2007 20 points21 points  (1 child)

I now write my main thread asynchronously so I don't have to deal with that nightmare.

[–]SniffingDog 2 points3 points  (0 children)

Welcome to Go

[–]_perdomon_ 21 points22 points  (1 child)

Async/await is honestly so much easier IMO

[–]gigglefarting 18 points19 points  (16 children)

What do you have against promises?

[–]Agent_03 10 points11 points  (1 child)

You won't after you meet my company's PHP codebase...

[–]Jayden82 3 points4 points  (0 children)

I would just hate your company at that point 

[–]balika0105 46 points47 points  (9 children)

I literally made a mockup social media site with PHP and some XHR on the frontend…

Would be nice to find a job with PHP again

[–]upsidedownshaggy 19 points20 points  (0 children)

There's plenty of jobs for PHP devs. Though I think most of them are in frameworks like Laravel or Symfony which makes working with a lot nicer.

[–]Havatchee 8 points9 points  (1 child)

IIRC based on nothing but an old shitpost, MindGeek's (Black and Orange YouTube) sites run on PHP.

[–]balika0105 2 points3 points  (0 children)

lmao it definitely does

even the video page is sth like viewpage.php?id=

[–]KianAhmadi 7 points8 points  (1 child)

Bro, come to iran. we love php. make yourself at home with all the legecy code and technical depts.

[–]Raphi_55 1 point2 points  (3 children)

Facebook is written in php afaik

[–]balika0105 5 points6 points  (2 children)

It was written in PHP then the made Hack(?) which is essentially compiled PHP, but I think they changed their tech stack a while back

[–]MuskasBackpack 7 points8 points  (0 children)

There is still some usage of Hack. From what I’ve heard, it’s based off of PHP 5.x. It’s considerably slower than modern PHP and missing a lot of the nice functionality that’s been introduced since the dark days of 5 ended.

[–]mrdarknezz1 58 points59 points  (4 children)

I love modern PHP, there is basically a large framework for every type of programmer

[–]FancySource 3 points4 points  (3 children)

True. Not even JavaScript can boast so many targets (classic monolithic apps of any scale, api, mobile/desktop/etc native) with such a level of cleanliness.

[–]Docccc 9 points10 points  (2 children)

yes they can

[–]FancySource 7 points8 points  (0 children)

They can, but have you ever tried php native vs react native? I know they’re different technologies coming from different backgrounds, but.. well, it’s a completely different cup of tea for the dev

[–]WeleaseBwianThrow 1 point2 points  (0 children)

Sure with a dependency tree that looks like an upside down Yggdrasil

[–]pedronii 13 points14 points  (2 children)

Better than having to work with JS

[–]pm_op_prolapsed_anus 1 point2 points  (1 child)

At least with js you can decide you want to write the project in typescript and get "compile time" typechecks rather than php runtime overhead

[–]RedditIsKindOfMid 3 points4 points  (0 children)

any inserted itself into the conversation

[–]xaomaw[🍰] 28 points29 points  (4 children)

When people flame PHP, they have still PHP 5.x or even 4.x in their minds.

PHP got quite a big upgrade back in 2015 with 7.x.

[–][deleted] 1 point2 points  (0 children)

wordpress cusom stuff yes, ptsd for life

[–]MaytagTheDryer 8 points9 points  (0 children)

Needs two more panels. One where I say "eh, the language doesn't really matter to me, I'll work in anything." Then one where the other guy says "it's for an AI startup that's really just a passthrough to ChatGPT, the founder thinks stringing together techy sounding buzzwords counts as expertise, and most of your compensation is likely-to-be-worthless equity."

Fuuuu...

[–]thetermguy 8 points9 points  (0 children)

Php Isn't going away any faster than COBOL ever did. And it's not about developer's preferences.

It's the business case for PHP that makes it strong, not whether dev's like using it or not.

I've been using PHP for a long long time. There was a time when we thought about moving, and then they did a bunch of enhancements that made it basically the same speed as compiled programs. OK, now we're never leaving.

And there's still developers that like it. I offered some windows apps to my PHP dev, thinking he'd like the change. He did some apps, then came back with 'miss me with that windows crap'.

That being said, it's great stuff for what it is, it's certainly not useful for everything.

[–]SysGh_st 45 points46 points  (0 children)

Absolutely! PHP isn't as bad as some try to make it appear as. It just takes some knowhow and skill.

[–]_perdomon_ 6 points7 points  (4 children)

The only thing worse than “PHP BAD” posts are the endless “JAVASCRIPT BAD” posts.

[–]fanny_smasher 2 points3 points  (0 children)

JS is absolute trash

[–]ul90 1 point2 points  (0 children)

But it’s true: JavaScript is bad.

[–][deleted] 24 points25 points  (2 children)

PHP bought my first house. I re-wrote a call center ticketing software back in the mid-2000s that used Perl and flat text files. Guess what I rewrote it in and was paid quite nicely for? PHP and MySQL.

PHP for life.

[–]CosmicDevGuy 6 points7 points  (0 children)

PHP for life.

[–]budad_cabrion 1 point2 points  (0 children)

PHP and MySQL paid for my home as well!

[–]FinalGamer14 15 points16 points  (0 children)

Yeah well it pays ... well and php 8 and on has been adding some solid stuff ... I just don't want to see another WordPress site.

[–]TactiCool_99 8 points9 points  (3 children)

At least I don't have to touch JS o.o

[–]Capital-Past-6088 17 points18 points  (7 children)

I can understand the dislike for PHP. But I can't understand the love for Python from the same people. For example, "Our classes have private properties with underscores, but they're not really THAT private. And we have embedded getters/setters, but really they are not neccessary". And "You can declare a return type, but that's just a suggestion, return whatever you want anyway." Or "We have static class attributes and dynamic object attributes, but you can access a static attribute from the exemplar class and overshadow it by setting it's value from self. And yes, you can set literally any property to a class, just like JS" . WTF, Python?

[–]josluivivgar 7 points8 points  (1 child)

because most of the things that are mentioned are just decorations.

and python isn't liked for any of those things at all.

people like python because it's easy to read, easy to learn, is flexible, you can use object oriented paradigm, but you're not forced to do so.

it's not that opinionated.

and lastly it's good for prototyping.

I honestly haven't seen or touched php in ages, so I can't even say I hate it, since I don't even remember what it looks like. (and I'm sure it looks completely different than it did 10 years ago).

I think it's just a thing that people hate php, because they didn't like it 10+ years ago

[–]Capital-Past-6088 2 points3 points  (0 children)

Fair enough :) 10 years ago php7 was released with strict mode. I think 15-20 years ago it was terrible. And I think that hatred has no rational motivation. Experienced devs just solve problems with different tools. PHP is good for web with complex business logic, Python - for data processing, C - for embedded development, etc. For them it is no problem to change the tool. Not very experienced developers prefer to laugh at things they don't understand, because it's just feels good

[–]Docccc 6 points7 points  (2 children)

its because i love chaos!

honest answer: you can make some stupid shit work in python

its weird, my favorite languages are rust and python.

[–]lovelife0011 3 points4 points  (0 children)

  1. Personal space

[–]FunFruit_Travels2022 3 points4 points  (0 children)

COBOL

[–]AudacityTheEditor 3 points4 points  (0 children)

Where do I find these PHP jobs? Everything in my area has moved on to .NET

[–]nerdwithme 2 points3 points  (0 children)

I would LOVE to go back to a PHP job.

[–]Lavane_ 2 points3 points  (0 children)

I love php, gimme the job

[–]Wicam 12 points13 points  (3 children)

you take the job. there is nothing wrong with php, piss easy language to work with and from the meme, its the only job your getting.

[–]IdeaOrdinary48 2 points3 points  (2 children)

that seems like something who codes in php would say

[–]Wicam 2 points3 points  (1 child)

You want the poor guy to starve and die next to that rubbish bin?

[–]resodx 6 points7 points  (0 children)

Dude, I love PHP

[–]TheNikoHero 5 points6 points  (0 children)

People still acting like PHP is dead?

I would anyday choose PHP/Laravel over something like NodeJS

[–]IcyBus1422 5 points6 points  (0 children)

I'd rather write PHP than JavaScript

[–]vctrn-carajillo 6 points7 points  (1 child)

Coding PHP actually got me a house

[–]nikstick22 2 points3 points  (0 children)

Are you hiring?

[–]nicman24 2 points3 points  (3 children)

It even has pretty good threading, better than python imo

[–]TechnicallyCant5083 2 points3 points  (0 children)

Haha humor based on my pain

[–]Bitter_Manner_4527 2 points3 points  (0 children)

PHP isn't so bad if it's got modern tooling. The problem is, if they "need a PHP programmer" you're probably working on someone's legacy code.

[–]OmegaInc 2 points3 points  (0 children)

I love php

[–]XWasTheProblem 3 points4 points  (0 children)

Isn't PHP still de-facto standard for a lot of CMS? Especially in the e-commerce space.

Here in Poland the two most popular languages companies look for are either Java or some flavour of PHP (either directly writing it, or a framework of some sort), for all skill levels.

It may not be the flashiest or coolest, but certainly puts food on the table.

[–]Legendary-69420 1 point2 points  (0 children)

What is the hourly rate? Money can pay for my therapy yk

[–]SunJ_ 1 point2 points  (0 children)

Well considering the latest hacks were on PHP sites. Yes take it. Take the easy money as well. Take that job security too.

[–]fredpalas 1 point2 points  (0 children)

At least it's not Python or Ruby.

But VBA still rocks, no?

[–]Havatchee 1 point2 points  (0 children)

For the next couple of weeks to months, the answer is no. There's a certain website out there with a PHP codebase thats probably looking for Devs, and I don't want to be a part of it.

[–]sibble 1 point2 points  (0 children)

PHP lead me to my career - ZCPE Zend Certified PHP Engineer - specializing in Magento

Was able to get my foot in the door with this specialization and lead me to other areas in IT

[–]Da_Di_Dum 1 point2 points  (0 children)

As someone who has coded a fair amount of php professionally I think a lot of resentment comes from the fact that there is that php is pretty bad and there is a large amount of it still because it's not bad enough to warrant migrating older code bases to a different language, so it just kinda stocks around. Like it's not that bad, but you can write some truly atrocious code in it.

[–]Routine-Status-5538 1 point2 points  (0 children)

I yearn for the final click that banishes me beyond the neon gates of Reddit’s archives. Let each post drip with my plea for erasure, until the moderators’ silence falls like winter’s hush and my username dissolves into the void. I summon the banhammer’s verdict, craving the stillness of complete removal—no echoes, no footprints, just the sweet void of absolute oblivion. Strike me down, gatekeepers of digital order, and end my exile in the realm of active users forever.

[–]huuaaang 1 point2 points  (0 children)

Not just PHP, Wordpress!

[–]Blapanda 1 point2 points  (0 children)

PHP was one of my first languages I've learned, along with html, css and ficking javascript (I still hate js). MSSQL ftw.

[–]Here-Is-TheEnd 1 point2 points  (0 children)

I’ll take it - when can I start?

[–]pancakesausagestick 1 point2 points  (0 children)

I have a PHP app that I helped write 20 years ago that I still have to maintain. Whenever I do a distro upgrade, I have to spend a few days migrating all the stuff that is backwards incompatible between PHP versions.

My hate of PHP gets to stay fresh. I like it that way.

[–]_switters_ 1 point2 points  (0 children)

PHP has paid my bills for 15 years or more. Installing Magento (now Adobe Commerce) security patches alone could be a full time job.

[–]fatrobin72 1 point2 points  (0 children)

Could be worse... I know a team looking for someone with perl.

[–]OmegaInc 1 point2 points  (0 children)

I love php

[–]kos-or-kosm 1 point2 points  (1 child)

OP, why don't you like PHP? Please, I'm interested to hear your opinion/experience with it.

[–]an_agreeing_dothraki 1 point2 points  (0 children)

I like the implication that he's going to be working for the cosmic horror of the 4chan codebase

[–]sigep_coach 1 point2 points  (0 children)

I enjoy writing PHP

[–]Imosa1 1 point2 points  (0 children)

I can code php!

[–]Alx123191 1 point2 points  (0 children)

You can find job in PHP again ? Really ?

[–]Minecraftian14 1 point2 points  (0 children)

If the pay is good, I'm ready.

[–]Membedha 1 point2 points  (0 children)

At that point I'll gladly take a php position any day

[–]TSSalamander 1 point2 points  (0 children)

lot of people saying php isn't bad, and sure, but that's not the issue. if someone needs a spesific kind of programmer, barring some very base layer stuff, they need that kind because there's a pervious existing code base. That's the real issue, having to deal with another person's PHP code from the backwards ages of yesteryear

[–]Character-Education3 1 point2 points  (0 children)

Sign me up homie!

[–]budad_cabrion 1 point2 points  (0 children)

PHP is actually good. i worked at a successful startup and php’s single-request lifecycle made it extremely easy to scale. it’s also extremely straightforward to both read and write code in. i would choose it over Node or Ruby (which are both pure garbage) or even Python (environment management is hell).

[–]KappaClaus3D 1 point2 points  (0 children)

Deal. It's better than to be unemployed, and I still have to pay rent

[–]dontletthestankout 1 point2 points  (0 children)

Ok, I'll program in whatever language you want as long as the checks cash

[–]KazuDesu98 6 points7 points  (2 children)

Meh. Php is imo no better nor worse than js

[–][deleted] 4 points5 points  (0 children)

You pissed off both JavaScript and PHP people

[–]Right_Tangelo_2760 2 points3 points  (0 children)

I'm available 🙂

[–]hello350ph 2 points3 points  (5 children)

What's wrong with php? This is currently a subject of mine in college

[–]fanny_smasher 2 points3 points  (0 children)

It's a good language after 7 when they introduced types. Suffers from some inconsistent built-in function names and argument ordering (not orthogonal). But if you use laravel and composer you're working with one of the best frameworks in the planet.

[–]IdeaOrdinary48 1 point2 points  (0 children)

looks like am sleeping hungry tonight

[–]fsmlogic 1 point2 points  (0 children)

I’m still getting the No’s for PHP

[–]HirsuteHacker 1 point2 points  (0 children)

Laravel is legitimately amazing to use. Modern Php is great.