this post was submitted on 30 Oct 2023
1004 points (96.3% liked)

Programmer Humor

32483 readers
385 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world -3 points 1 year ago (1 children)

Lets just say that Python was a language that was never supposed to be used for anything production related. PHP's memory management and multi threading capabilities are WAY more solid and less prone to leaks than Python 's.

[–] kroy@lemmy.world 3 points 1 year ago (1 children)

As someone that used PHP professionally for literal decades, the PHP hate is so meme-y.

Its biggest problem is that it allows you to do some truly cursed things. The same can be said about other languages, but PHP really doesn't do much to set you up for success, especially as a new-intermediate coder.

With opcache, it became fast enough for basically most web backends, and as a language overall it does seem to be evolving and shedding off some of the crap that used to make it truly horrible in the hands of a new person. At least the type-juggling stupiderrors

Now I mainly use go and python (only because I have to on this one), and I would put Python and PHP on a similar level of "fuck this language" moments

[–] lightnegative@lemmy.world 2 points 1 year ago

cries in variable variables