3 ms·
Speaking as someone who often looks at PHP and wishes it were Java, I'll try some devil-advocacy... Ttatic-typed stuff requires more decision-making effort fro
by Terr_ 11y ago
Speaking as someone who often looks at PHP and wishes it were Java, I'll try some devil-advocacy...
Ttatic-typed stuff requires more decision-making effort from the user as they write code. (In exchange for lowering the effort to read/analyze it later.) Naive decisions can impact how other people use your code, requiring them to "fix it up". (Fortunately, refactoring tools can help.)
Another downside is when the type system the language provides only partially addresses your vision. Then it gets a little tricky to decide how to optimize your baby-to-bathwater ratio.