News for hackers. Stuff that matters.
Re:PHP 8.2 by xigoi on Thursday December 08, 2022 @02:12PM (#33911866)
For me, it makes code harder to read because my brain can't stop pronouncing it as “s”, so something like `f($x, $y, $z)` reads like “eff sex, swy, szee”. And for writing, requiring a shifted key before every identifier is a lot of pinky strain. Not to mention that it's completely useless noise.
Re:PHP 8.2 by withinboredom on Thursday December 08, 2022 @03:30PM (#33912922)
But it lets you do things that are absolutely wild without weird syntax or setting up reflection. $obj->$dynamic_var. Or $$dynamic_obj->$dynamic_fun().

Whether or not you should be doing that is another matter… but it’s useful in some cases and easier to grok than using reflection or using array syntax on an object (like JavaScript).

After awhile, you don’t even notice the $ to be honest.

Re:PHP 8.2 by antifa on Thursday December 08, 2022 @09:49PM (#33916812)
It must be embrassing when you read outloud "S-S-SWone thousand dollars".
Re:PHP 8.2 by dncornholio on Monday December 12, 2022 @09:51AM (#33955200)
Life is too short to care about stuff like this. It's like saying you don't like the color blue.
Re:PHP 8.2 by xigoi on Monday December 12, 2022 @10:40AM (#33955833)
Carpal tunnel syndrome is nothing to take lightly.