News for hackers. Stuff that matters.
Re:What's new in PHP 8? by dpcan on Friday August 14, 2020 @01:22AM (#24153956)
PHP was just PHP for years.

Now I don’t even recognize what’s going on when reading code in a language I’ve used for my entire software development career.

It’s like a new language.

I want to be done with tech some days.

I just want to do my job, not relearn a language I’ve used for 20 years.

Re:What's new in PHP 8? by pastapaste on Friday August 14, 2020 @01:36AM (#24154071)
>I just want to do my job, not relearn a language I’ve used for 20 years.

Good thing is you usually don't have to, languages like php really try and makntain backwards compatability, so you _can_ keep doing what you're doing.

Even with some changes, companies rarely ride the wave and come onboard much later when major issues have been ironed out. Hell, there are PHP4 apps still out there

Re:What's new in PHP 8? by jgrpf on Friday August 14, 2020 @08:15AM (#24156869)
But that's a problem: it maintains backwards compatability with a LOT of well known problems/inconsistencies while introducing more features/inconsistencies for which you can just hope they don't mess up this time. It's a bit of good and a lot of bad from both worlds. I'm just so glad I don't have to use PHP anymore and no amount of a swine's make up will change this.
Re:What's new in PHP 8? by tonyedgecombe on Friday August 14, 2020 @02:42AM (#24154526)
It seems every language has a group of people with an unrelenting urge to turn it into Java.
Re:What's new in PHP 8? by ragnese on Friday August 14, 2020 @06:46AM (#24156250)
Really? What languages in particular? Even Java doesn't want to be Java anymore (see the "inspiration" it's taking from Kotlin and others in recent/next versions). PHP is the only language that seems to be chasing Java to me.
Re:What's new in PHP 8? by karlerss on Friday August 14, 2020 @03:25AM (#24154874)
As long as weak typing is not abandoned, the Java-like language features are great.

I am really looking forward to generics in PHP.

Re:What's new in PHP 8? by tonyedgecombe on Saturday August 15, 2020 @02:55AM (#24166645)
Weak typing and generics, isn't that the worst of both worlds?
Re:What's new in PHP 8? by etxm on Friday August 14, 2020 @01:39AM (#24154093)
Keep writing php5, It’ll probably be the high paying FORTRAN gig of the 2040s
Re:What's new in PHP 8? by mekster on Friday August 14, 2020 @10:48PM (#24165464)
Why not just stick to the version you're accustomed to?