by latchkey · 3y ago · 0 comments
But I really like compilers, they catch a whole class of bugs, before I run things.
I can't imagine not having Psalm or PHPStan in our build pipelines.
There are tools for creating stand-alone executables from PHP source code, but they're not as nice to use, compared to languages that were designed for this. By distributing software I also mean making your latest code live in prod.
I suppose the benefit of using PHP (or other interpreted languages) is that it's easier to create "plugins", just copy the new source files to the server.
Also, out of curiosity, are all of those tests hand written, or is there some generation in there?
I can’t see how static analysts could solve it really.
Oh and the garantiert that no one can modify it post the compile step.