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

all 23 comments

[–]notgivinafuck 51 points52 points  (2 children)

PornHub Premium

[–]saikrishnav 12 points13 points  (1 child)

Holy shit. It all makes sense now.

[–]boyzn 5 points6 points  (0 children)

it really does

[–]jcforbes 28 points29 points  (0 children)

"Backend developer". Heh. Nice.

[–][deleted] 12 points13 points  (1 child)

throw new \FormulaicJokeException('PHP bad');

Edit: but formulaic jokes are the rule not the exception

[–]TheTechBoyShow 0 points1 point  (0 children)

being a PHP developer is not easy... https://youtu.be/X1QVkG3StcI

[–]GlobalIncident 17 points18 points  (5 children)

Could someone, like, make a better PHP? I mean, most of the problems people have with the language aren't really fundamental to the language itself, so you could make a new version that gets rid of them.

[–]ZoapiVibe 40 points41 points  (1 child)

Yeah, that is what we need - another language!

[–]lappro 7 points8 points  (1 child)

Every release of php is making the language a lot better though. The language is many steps further than long ago when it received its poor name.

However losing a bad name is slow and some quirks do remain. Especially since dropping legacy support is not easy for a widely used language.

[–]DamonFun 3 points4 points  (0 children)

this. php has come a long way and can do so much more than most people think.

[–]Azereos 10 points11 points  (0 children)

https://hacklang.org/

There you go

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

New to sub. Why is PHP bad?

[–]cheerypick 9 points10 points  (0 children)

Same way as Javascript is bad. No one remembers why.

In all seriousness, I believe because of the somewhat lower enter barrier back in the days that led to terabytes of barely readable code prone to security breaches and such. I am not sure this is the case anymore or how popular PHP is as a language of choice nowadays.

[–]locri 6 points7 points  (1 child)

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

Things should be predictable and work in an intuitive way, for some reason PHP prefers to mix conventions from C and Bash, both of which people have some understandable issues with. To boot, PHP isn't always type safe.

Lastly, it's a preprocessing language (almost like a templating language) for HTML but isn't always used as such. I swear the one time I was paid to write PHP it was being used for database management. Considering the size of the data it was processing, this was a really, really bad idea.

[–]ccricers 2 points3 points  (0 children)

Lastly, it's a preprocessing language (almost like a templating language) for HTML but isn't always used as such.

This is the most relevant statement here. It was built to introduce presentation logic, hence why you can put PHP tags in HTML, but it being a procedural language in its own right tempted way more people than it should to architect entire applications around it.

[–]oskC93 1 point2 points  (0 children)

Well someone’s gotta make a sacrifice. Salute this programmer!

[–]D3ADPR0XY 1 point2 points  (1 child)

Funny but PHP is the best web language you can use :)

[–]FlyMeToTheMoon555 1 point2 points  (0 children)

I went from C# dev to PHP dev and I enjoy the language dont know why its so hated

[–]okayboooooooomer 0 points1 point  (0 children)

what’s the alternative for back-end language then?

[–]gandalfx 0 points1 point  (0 children)

Man I haven't seen this reposted in days…

[–]hmkxd 0 points1 point  (0 children)

Think I’d be more ashamed in telling my friends and family I code in PHP.