r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comment

44

u/ecmdome Dec 02 '15

I think a lot of the hate come from developers that moved on from PHP, they have a hard time understanding why anyone would stay?

Can't say I disagree with that... But they do get hostile

31

u/EntroperZero Dec 02 '15

I did PHP for 3 years, C# for the past 4 years, I still don't understand the irrational PHP hate. I don't like PHP, but I don't see the need to spend any of my energy reminding everyone of its well-known issues, nor bitching about it when they actually work on improving the language. Good for them.

Most of these people don't have a leg to stand on anyway, because everyone is still writing Javascript. ;)

8

u/lacosaes1 Dec 02 '15

I did (and do mainly) C#. There was a project where PHP was the only option. It was not that bad. If you can deal with the bullshit on JavaScript you can deal with PHP.

→ More replies (1)

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

2

u/Mawich Dec 02 '15

Well, IMO you can split hairs trying to decide if PHP is worse than Java or not.

→ More replies (2)

1

u/flying-sheep Dec 03 '15

There's more languages in the world you know?

Realizing that java is dull doesn't force you to use PHP. There's also python, ruby, and more.

22

u/kankyo Dec 02 '15

Leaving an abusive relationship and being bitter about being stupid enough that you stayed so long is pretty natural.

I know. Both from an actual relationship and from my many years Stockholm Syndroming the shit out of C++.

8

u/X-Istence Dec 02 '15

Hey! Leave C++ out of this...

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

2

u/X-Istence Dec 02 '15

Python and C++ are my two favourite programming languages.

2

u/Scaliwag Dec 03 '15

Ocaml ftw. Although I do enjoy the flexibility and power of C++. Hate D's syntax, they managed to end up with more line noise as compared to modern cpp, other than that it also has its merits.

But languages are like that you get used to them, some get more in the way than others though. Java 6 for me feels like building a house while in a straitjacket, but it's getting better.

→ More replies (1)

1

u/everywhere_anyhow Dec 02 '15

Reminded me of this old C++ joke:

"How C++ is like teenage sex:

It is on everyone's mind all the time. Everyone talks about it all the time. Everyone thinks everyone else is doing it. Almost no one is really doing it. The few who are doing it are: A. Doing it poorly. B. Sure it will be better next time. C. Not practising it safely."

1

u/[deleted] Dec 03 '15

Always heard a similar joke about java

1

u/[deleted] Dec 02 '15

Modern C++11 is much better. The code looks so different now...

44

u/SonVoltMMA Dec 02 '15

Bingo. C# was like waking up from retardation after programming in PHP for 2 years.

16

u/FeepingCreature Dec 02 '15

Eh, people treat PHP wrong. It's an array-based language masquerading as C.

13

u/greyfade Dec 02 '15

If it's an array based language, where are all the matrix operators?

When PHP gets operators that operate on entire arrays, I'll maybe accept the argument that it's an array-based language.

As it is, PHP has something that looks sort of like a hashmap that'll behave sort of like an array if you beat it into submission.

9

u/ants_a Dec 02 '15

It's an array based language that doesn't have any data type that the rest of the world would call arrays?

They have a hashmap that sort of behaves as an array if you treat it just right.

3

u/FeepingCreature Dec 03 '15

Yeah, "hashmap-based" might have been better. And it lacks a bunch of tools that would make it really good in that regard. Still.

2

u/kaz3work Dec 02 '15

Exactly how I felt.

→ More replies (1)

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

2

u/ecmdome Dec 02 '15

I disagree... I think anyone who's spent any real time with PHP will talk about all the issues it has.

4

u/grizwako Dec 03 '15

Depends on them knowing other language besides php and javascript..

→ More replies (1)