this post was submitted on 02 Jul 2023
102 points (94.0% liked)

Programmer Humor

32042 readers
1012 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 24 comments
sorted by: hot top controversial new old
[–] TeaHands 15 points 1 year ago (2 children)

I still code with PHP.

Come at me.

[–] gkd 6 points 1 year ago

Don’t worry I have your back. We’ll take ‘em together.

[–] [email protected] 1 points 1 year ago
[–] carbonara 14 points 1 year ago (3 children)

Still waiting for anybody to explain me why I shouldn’t write my backend in php

[–] disenchanted 4 points 1 year ago (2 children)

Everything works if you know it well enough. But what I remember annoying me with php most was the naming convention mess, array_search, count, strlen, etc.

[–] [email protected] 5 points 1 year ago

\except $for $the $annoying $syntax $and $bad $function $naming, $it's $actually $turned $into $a $fairly $decent $language->

[–] [email protected] 2 points 1 year ago

I think the PHP maintainers recognize that drawback and are working/have done a lot of work to fix conventions. I remember having to fix my code the last time I updated to the latest PHP version because they changed the arguments to a function call to be more in line with the arguments for other similar functions.

[–] [email protected] 2 points 1 year ago

leaving a . so i know as well

[–] [email protected] 1 points 1 year ago

It's not trendy, and not forcing you to write properly your code.

[–] tuto193 14 points 1 year ago (1 children)
[–] Rolando 6 points 1 year ago

Upvoted and boosted--- oh wait, I'm on Lemmy! :)

[–] Loce 12 points 1 year ago* (last edited 1 year ago)

After like a 10 years of coding in everything except PHP I actually started missing PHP. Everything is so bloated nowadays and all the shit that gets thrown towards the PHP is mostly just a BS from those that either never coded in PHP or stopped coding before PHP 5.6.

[–] [email protected] 5 points 1 year ago

Modern PHP shits all over the PHP v3, v4, v5 days of yore.

Anyone making new projects from scratch is living in a land of bliss while those working in projects/frameworks that started in the days of yore are having experiences across the whole spectrum of, "Wow, I sure am glad we migrated to modern php" to "please kill me, I'm in so much pain".

[–] [email protected] 4 points 1 year ago

I started with javascript and was reluctant to try php because of what I read online. Now Laravel is all I want to develop with

[–] Eurobae 2 points 1 year ago (3 children)

When I was studying I used php but not a lot so I don't really have an opinion for it, why the "hate" for it? Coming from someone who uses React a lot

[–] [email protected] 2 points 1 year ago

I don't use it a lot myself but it has a fame of being insecure and badly designed as a language

[–] Eurobae 1 points 1 year ago

When I get some time I want to try Laravel

[–] [email protected] 2 points 1 year ago

PHP has lasted 30 years while newer frameworks and languages from tech companies barely last 5.

[–] bappity -3 points 1 year ago* (last edited 1 year ago) (1 children)

one of my work's systems runs entirely on PHP 😩 luckily it's mostly phased out but I still have to experience hell every now and then

[–] [email protected] 3 points 1 year ago

Modern php may not be so bad, but if you are supporting a legacy system on a legacy version of php, it sucks.