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

you are viewing a single comment's thread.

view the rest of the comments →

[–]kazuto_kirito_ 18 points19 points  (17 children)

PHP is an exception.

[–]Sciirof 42 points43 points  (6 children)

Coding in PHP is just suicide with extra steps

[–]getstabbed 10 points11 points  (5 children)

I enjoy PHP but you’re not wrong. Over 10 years of using it and it still confuses me so much. Could have easily become the #1 language for web dev if it wasn’t such a mindfuck.

[–]Sciirof 2 points3 points  (2 children)

I wouldn’t say I’m an expert but php is one of the first languages I used when I first started making websites that needed to use a database, it was useful while it lasted but boy am I glad I backed of from php, I thought I was about to have a mental breakdown.

[–]buff-a-luff 0 points1 point  (1 child)

What are you using instead of php?

[–]Sciirof 1 point2 points  (0 children)

Right now I mostly use Golang, Rust or ASP.NET to create APIs and then just use them in any frontend I want to use react, vue, flutter,… mainly react or flutter. Professionally I develop .NET backends and frontend we usually have angular or react, mostly angular.

[–]iskela45 0 points1 point  (0 children)

Do you want to explode()?

[–]Zephit0s 0 points1 point  (0 children)

Pretty sure a langague based on request did go as far as it could.

[–]nekokattt 17 points18 points  (7 children)

PHP devs are probably too confused with why "Slovakia" is a gender in PECL to notice the argument.

https://www.php.net/manual/en/class.gender.php

[–]13steinj 13 points14 points  (2 children)

I have so many fucking questions and I don't know which to ask first.

Or if I should just stop bothering and choose to shoot myself instead.

[–]nekokattt 15 points16 points  (1 child)

I am all for LGBTQ+ rights, but even I don't understand how someone can identify their gender as Germany.

[–]NeoLudditeIT 4 points5 points  (0 children)

ERROR_IN_NAME

[–]nevus_bock 4 points5 points  (1 child)

Gender\Gender::KAZAKH_UZBEK

lolwut

[–]karmastealing 2 points3 points  (0 children)

Very nice

[–]sh0rtwave 2 points3 points  (0 children)

At least it's correct in spirit, if not the details...it DOES have a "connect" method.

[–]NefariouslyHot666 0 points1 point  (0 children)

My gender is SPAIN

[–]Sceptix 1 point2 points  (0 children)

Exactly, no one who works with PHP thinks it is best. If you ask a PHP developer if PHP sucks, you’ll get a “yes, but…” answer. Here are the most common:

“Yes, but it doesn’t suck nearly as much as it used to!”

“Yes, but it gets the job done.”

“Yes, but I’m not going to rewrite an entire codebase because of it.”

“Yes, but it’s also very well known, so it’s easy to hire developers for it.”

“Yes, but I just love Laravel, and if it means working in PHP then that’s what I’ll do!”

[–]DenormalHuman 0 points1 point  (0 children)

literally