When you say you still code with PHP

102 points · 23 comments · view on lemmy.world

23 Comments

TeaHands@lemmy.world · 15 pts · 3y (2 replies)

I still code with PHP.

Come at me.

gkd@lemmy.world · 6 pts · 3y

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

akariii@lemmy.blahaj.zone · 1 pts · 3y

why?

carbonara@lemmy.world · 14 pts · 3y (5 replies)

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

disenchanted@lemmy.world · 4 pts · 3y (2 replies)

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.

duncesplayed@lemmy.one · 5 pts · 3y

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

SurpriseWaterfall@sopuli.xyz · 2 pts · 3y

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.

evirac@vlemmy.net · 2 pts · 3y

leaving a . so i know as well

pokexpert30@lemmy.pussthecat.org · 1 pts · 3y

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

tuto193@lemmy.world · 14 pts · 3y (1 reply)

kbin is written in PHP ;)

Rolando@lemmy.world · 6 pts · 3y

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

Loce@lemmy.world · 12 pts · 3y

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.

spartanatreyu@programming.dev · 5 pts · 3y

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".

Ransom@lemmy.ml · 4 pts · 3y

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

CriticalSilence@feddit.de · 3 pts · 3y (2 replies)
[ removed ]
soloner@lemmy.world · 2 pts · 3y (1 reply)

Is php worth hating? I did some in college and didn't care for it. I don't remember exactly why though. I built a POC super simple MVC framework and found it really easy to implement. But then I moved on to other stuff (java/ruby/python/js) and promptly forgot about it.

CriticalSilence@feddit.de · 1 pts · 3y
[ removed ]
cupcakezealot@lemmy.blahaj.zone · 2 pts · 3y

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

Eurobae@lemmy.world · 2 pts · 3y (3 replies)

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

akariii@lemmy.blahaj.zone · 2 pts · 3y

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

Yearly1845@reddthat.com · 2 pts · 3y
[ removed ]
Eurobae@lemmy.world · 1 pts · 3y

When I get some time I want to try Laravel

bappity@lemmy.world · -3 pts · 3y (1 reply)

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

karlthemailman@sh.itjust.works · 3 pts · 3y

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