News for hackers. Stuff that matters.
Re:Everything you need (and don't need) to know about PHP's ... by asddubs on Sunday July 26, 2020 @04:37PM (#23960002)
the only thing that sucks about strict typing is that there's no way to toggle it globally. so if you want to transition a codebase that's simultaneously actively being developed in other ways, you have to mess around with scripts that append it to the start of all php files/remove it again
Re:Everything you need (and don't need) to know about PHP's ... by nawarian on Tuesday July 28, 2020 @06:09AM (#23974144)
Nothing that tools like Rector can't help you with.

I believe this extra step is incredibly important, given most of your dependencies you won't control and forcing strict types to them is not very clever IMO.

Re:Everything you need (and don't need) to know about PHP's ... by asddubs on Tuesday July 28, 2020 @06:43PM (#23981473)
I guess it wouldn't work if your dependencies weren't easily seperable from the rest of the code. in this case there are no dependencies, it's all custom cobbled together, for better or worse