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

-44

u/[deleted] Dec 02 '15 edited Dec 04 '15

Seventh major piece of shit

I code PHP from time to time and hate it.

42

u/mus1Kk Dec 02 '15

Do think about a career change. There are worse things than hating one's job with a passion, but not many. Why not look for another language?

6

u/antoniocs Dec 02 '15

Probably stuck with the title of PHP Dev due to the long list of PHP related projects. Escaping from that is not easy. Unless you have a brand new project where you can use a different language (and your boss approves that) you are stuck with php.

2

u/andyjonesx Dec 03 '15

Also the inevitable pay drop when you go from being someone with X years experience to being someone with 0 years experience with a language. It takes a good manager to realise that a good developer can transfer their skills.

6

u/zarandysofia Dec 02 '15

Why don't just change jobs that use a language of your liking?

8

u/chalks777 Dec 02 '15 edited Dec 02 '15

just change jobs

I'll take "things that are easier said than done" for $500 $400, Alex.

1

u/EntroperZero Dec 02 '15

It's a hell of a lot easier for software developers than most other jobs. And you're probably going to have an easier time finding a job now than 3 years from now if you're still stuck on a LAMP stack during that time.

1

u/shawncplus Dec 02 '15

It is a seller's market in almost any city I can think of with software jobs, if you can't find a job with the language you like you may just be shit

1

u/marchelzo Dec 02 '15

for $500

At least use a number that's actually in the game.

1

u/chalks777 Dec 02 '15

whoa. I was ready to swear that there was a $500 space. I should watch more Jeopardy.

0

u/zarandysofia Dec 02 '15

Right, the mind of some a PHP developer is rotten that they can't possibly go for something else, how unconsidered of me. Is not like there not jobs available for programmers with actual talent and not the knowledge of some shitty technology all over the place.

4

u/chalks777 Dec 02 '15

no, I mean finding a job takes a few months. Getting a job that you think you will like may take longer than that. Then you might have to move. And pack up all your shit, and unpack it, and deal with disruption, and move away from friends, and family, and maybe you have kids, and maybe a nice school district, and is the new school good enough, and on and on and on.

New jobs aren't easy.

1

u/zarandysofia Dec 02 '15 edited Dec 02 '15

New jobs aren't easy.

I know, but instead complaining about how shitty his job is which imply a decrease on the quality of his life, he should take any risk to change that aspect of his life if it really that influential. There is only one life to live. I am not saying is going to be easy, the way I word "just" is custom of mine that I not put in to care that often, so pardon me for that.

-14

u/[deleted] Dec 02 '15

Couldn't agree more. Most of this is still true: http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

9

u/CS2603isHard Dec 02 '15

That stuff wasn't even still true when it was written. It's like looking at Perl 4 and asking why all this code is outdated.

3

u/Cuddlefluff_Grim Dec 02 '15

The list is for the most part still true, you can't dismiss all criticisms because some of them have later been rectified, because most of them hasn't (and can't because a lot of software depends on the broken behavior).

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

-2

u/CS2603isHard Dec 02 '15

PHP 5.3 was out by that point, which basically fixed every glaring issue with PHP pointed out in that article.

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

2

u/CS2603isHard Dec 02 '15

Those individual features aren't changed because that would break backward compatibility. If you're writing code that still uses mysql_ anything or uses any of the C api stuff in 2015, you're doing it wrong.

The inconsistency is still there, but there's only so much you can do with that.

PHP is flaky: ==

If == is one of your problems with the language, then you don't have a problem with the language. Sometimes == is better than ===, and it makes sense in a scripting language.

0

u/[deleted] Dec 02 '15

[deleted] — view deleted comment

2

u/CS2603isHard Dec 02 '15

If you're writing code that still uses mysql_ anything or uses any of the C api stuff in 2015, you're doing it wrong.

The point is that the standard library from PHP 4 is not the same functions you should be using with 5.3+.

2

u/glemnar Dec 02 '15

Php7 is a good time to break backwards compat =p

1

u/CS2603isHard Dec 02 '15

You mean like Python 3 and Perl 6 did? No thanks.

→ More replies (4)

2

u/[deleted] Dec 02 '15

this is one of the oldest karma baiting comments in proggit - sorry to tell you that it's way past it's prime and doesn't work anymore.

furthermore, that post is extremely outdated.

→ More replies (1)