3 ms·
> I don't care about php, I don't care about their legacy codebase, I don't care about their bugs. > Literally couldn't bring myself to do these tasks. Nobody
by matheusmoreira 4y ago
> I don't care about php, I don't care about their legacy codebase, I don't care about their bugs.
> Literally couldn't bring myself to do these tasks.
Nobody would bring themselves to do these tasks if the corporations weren't paying for it!
- karmakaze 4y agoAs an aside, PHP and TypeScript are the only popular non-FP languages I know that support ad-hoc union types: e.g. private int|float $foo;
- maleldil 4y agoPython supports `Union[int, float]` or `int | float` after 3.10.
- bruce343434 4y agoThese languages are dynamic at their core. Add in the weird edgecases that result from automatic conversions/coersion, and their type systems are a joke. In any case, the code I was working from was still from the "docstring comments as types"-era.