Re:PHP 8: Before and After
by brendt_gd on Friday October 23, 2020 @03:45AM
(#24866972)
I know you're trolling, but FYI the `static` before function has nothing to do with the `static` return type. Like other programming languages the term `static` is used to denote two things.
[ Parent
| on HN ]
Re:PHP 8: Before and After
by ThePadawan on Friday October 23, 2020 @04:37AM
(#24867226)
And other programming languages get away wihout overloading the term.
It's not an excuse for slacking on language design.
"static" itself is originally an overloaded term, and still remains such to this day in C++.
The term is overloaded, which is a bit unfortunate.
Re:PHP 8: Before and After
by hashtagmarkup on Friday October 23, 2020 @03:58AM
(#24867036)
However, the unfortunateness is static.