this post was submitted on 02 Jul 2025
8 points (100.0% liked)
Programming
23 readers
1 users here now
My various programming endeavours, mainly in PHP (Symfony), Typescript (Angular), Go and C#. With a sprinkle of Java and C++ here and there.
founded 5 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I like this feature (for both static and non-static properties). It just reads kinda cringe with both the "public" and "private" keywords for the same property.
I like it as well, recently had one use case where it would have been the best solution, sadly php-cs-fixer chokes on that so I had to do it with property hooks.