3 ms·
We already automate that, it's called a compiler. The human review is just for kicks for this type of thing. Of course some languages... PHP... aren't so lucky
by const_cast 1y ago
We already automate that, it's called a compiler. The human review is just for kicks for this type of thing.
Of course some languages... PHP... aren't so lucky. $customer->cusomerEmail? Good luck dealing with that critical in production, fuckheads!
- muglug 1y agoWhat if I told you there were tools for that
- const_cast 1y agoI'm aware of the tools, I write PHP daily. The point is moreso that PHP won't stop you from doing that. It will run, and it will continue running, and then it will throw an error at some point. Maybe. If the code is actually executed. If it's in a branch that's only executed like 1/1000 times... not good.