Since when does PHP not have $?
What's the problem with '$'?
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.
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.
Php is in a very similar situation, the difference is you can't escape javascript so we all to some extent keep up with its developments. People who leave php left it at a certain point and their understanding of its issues is frozen there. It's very predictable and boring honestly.