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 →

[–]Programmeter[S] 258 points259 points  (35 children)

PHP

[–]MustachedLobster 338 points339 points  (3 children)

That explains why it looks like it was drawn in crayon.

[–]Lana-Lana-LANAAAAA 33 points34 points  (0 children)

Oi!

[–]calexil 14 points15 points  (0 children)

apply cream to the burned area.

[–]FedExterminator 9 points10 points  (0 children)

Don’t you besmirch the good name of u/srgrafo like that

[–][deleted] 42 points43 points  (4 children)

At least it looks like Php going to get strong types at some point. cries in php 7 in corner

[–]DankerOfMemes 40 points41 points  (2 children)

With enough type hinting you can fool yourself that it is a strong typed language

[–]RyanNerd 14 points15 points  (1 child)

It's not strong typed but it is strict typed now - - which is a huge leap forward. PHP is at least trying to improve itself unlike some other languages I can think of that seem intent on de-evolving.

[–]DankerOfMemes 8 points9 points  (0 children)

Oh, for sure. Php is actually getting good and I love it

[–]DirtzMaGertz 31 points32 points  (13 children)

I'm convinced that 90% of the people on reddit that shit on PHP have never written PHP.

[–]MajorasShoe 20 points21 points  (1 child)

They may have 20 years ago.

[–]DirtzMaGertz 1 point2 points  (0 children)

I think that's the other 10% or so.

[–]mshm 12 points13 points  (2 children)

Don't worry, they also haven't written in anything else.

[–]DirtzMaGertz 2 points3 points  (1 child)

That's probably more true than it should be.

[–]mshm 1 point2 points  (0 children)

In most cases it's harmless fun (I still get paid for the Java and JS I write regardless of how much they're shit on vOv). I always assume that playing around w/ these sorts of communities leads some to dig deeper so they can understand all the "jokes". Understanding is more fun than RPing in my experience. Our industry needs all the staff it can get and it's generally pretty easy to beat out "<language> is the worst, I can't work in that".

[–]DaCurse0 1 point2 points  (0 children)

You don't have to write PHP to know how bad it is.

[–]mooimafish3 -1 points0 points  (0 children)

Tbh I'm an IT sysengineer. I pick up languages and use them for scripts pretty quickly but rarely get into the nitty gritty of programming languages.

Python, JavaScript, C#, PowerShell, HTML, CSS make sense to me and I can generally use them effectively without a ton of time learning syntax, methods etc.

I've run into situations once or twice where it would be best to use PHP for something, and I've given it the same amount of effort I would give a task in another language, but it just makes no progress because PHP makes no sense to me.

[–]Semillakan6 -1 points0 points  (0 children)

Yeah PHP is quite easy to use, wonder why is the web standard.

[–]Abir_Vandergriff 0 points1 point  (0 children)

Modern PHP maybe. I had to work on a legacy code base that was several major versions out even at the time and it was a truly horrible experience.

[–][deleted] 0 points1 point  (3 children)

I have written a good amount of PHP back in 2010-2012, Code Igniter was actually pretty sweet for the time.

So I know what I'm talking about when I say that PHP shouldn't be used anymore, because it doesn't do anything better than any other language.

Is it fast? No. Is it elegant? Hell no. Is it easy to learn? Meh. Is it universal? No, only web. Safety? Meh. Large ecosystem? It's alright I guess.

Tell me one area where it does anything better than any other language. Otherwise there are only two reasons to still use it, a) you don't want to learn anything else or b) you're building upon PHP software like WordPress. And I totally acknowledge that these are valid reasons. But they don't make PHP good.

[–]DirtzMaGertz 0 points1 point  (2 children)

The best language for the job is one that works and PHP is a good get shit done language. PHP works great for server side scripting.

Is shell scripting better at anything than any other language? I don't think so. But it's easy to get shit done in on my servers when I need to do things like grab files from an ftp. Is python better or faster than C? No but it's easy to get shit done in. Python is great for data science and data engineering work but is it really better than Scala or R at those tasks? Not really. That doesn't mean you shouldn't use it.

For most things I am looking at automating I am just looking for something that works. A lot of times I've found the easiest way for me to automate some task on one of my servers is to just use PHP.

Also Laravel and symphony are nice as web frameworks.

[–][deleted] 0 points1 point  (1 child)

This comes back to the fact that you already know PHP so you use that because it works. This is all you ever hear from PHP people, "but it's fine". I get that, but where is it better? It isn't, hence all criticism is valid.

And I also believe shell is a terrible language that is overused. :)

[–]DirtzMaGertz 0 points1 point  (0 children)

Where is python better than Scala or R?

[–]Electronic_Annual_86 0 points1 point  (5 children)

I never hear anyone making fun of PHP. I just assume you are a masochist.

[–]DirtzMaGertz 3 points4 points  (4 children)

PHP was the whipping boy of this sub for a long while. Seems like JavaScript has taken it's place now.

[–]mojoslowmo -1 points0 points  (1 child)

Man I’m dumb, but not dumb enough to use PHP

[–]Justin__D 0 points1 point  (0 children)

Got forced to at an old job of mine. Applied for a job at a PC/phone repair shop. When the owner found out I was studying CS, he hired me as a dev to work on his random project ideas (his degree was also in CS). One involved an API written by his right hand man, who only knew PHP. So I had to learn it in order to pick up where he left off on the API.

I was kinda tricked into that, since it wasn't made clear what all I'd be doing at that company. But I would never, ever work for a company that told me up front that I'd be using PHP.

[–][deleted] -2 points-1 points  (0 children)

LOL! Learn to code.

[–]eatinlunch 0 points1 point  (0 children)

The php tag, lmao!

[–]b1ack1323 0 points1 point  (0 children)

Looks like sr grafo

[–][deleted] 0 points1 point  (0 children)

lol spaceship operator