Trying to convert a small Java project to PHP, and got stuck immediately.
Common guys, really – how do you PHP people survive without a strict typesafe enum?!
I know PHP ppl don’t like strong typing, and you also can survive without method overloading, but this is… common ppl… no workaround for enum, NOTHING AT ALL?
I’ve been a Brainbench certified PHP master back in the year 2000. PHP sucked back then so I switched to C++ and Java. I kinda heard a rumor that PHP got somewhat better and even introduced minimal support for OOP.
Well, I can do some OOP in plain old ANSI C when I need to. I can work around missing OOP features if language is OOP unfriendly. I can understand why PHP has NO support for non-primitive const members. But as soon as I saw PHP suggestions for enum, I kinda stopped respecting PHP.
PHP sucks. Plain and simply, as a programming language, it just SUCKS.