Re:Modern PHP features explained – PHP 8.0 and 8.1
by rob74 on Thursday October 27, 2022 @11:25AM
(#33358990)
Ah, ok, yeah, thanks, guess that makes sense :) - and may also give someone who doesn't know this feature a hint as to what's going on...
[ Parent
| on HN ]
Re:Modern PHP features explained – PHP 8.0 and 8.1
by eropple on Thursday October 27, 2022 @11:29AM
(#33359047)
Beyond that, this is becoming more and more common in other languages. Anyone who ever touches TypeScript will immediately recognize it, for example, or (with a bit more of a stretch) Java/C#/Kotlin/Scala data classes and records.
Feature convergence is only a bad thing if you're not spending enough time in other tools to recognize them.
Re:Modern PHP features explained – PHP 8.0 and 8.1
by thecatspaw on Thursday October 27, 2022 @01:27PM
(#33360956)
from my experience from learning typescript this is really easy to pick up on your own