3 ms·
I've spent years on both sides of the fence, PHP and Java. In my experience php wins out for prototyping and smaller or short-lived projects, because you can ty
by Joeri 9y ago
I've spent years on both sides of the fence, PHP and Java. In my experience php wins out for prototyping and smaller or short-lived projects, because you can type up something quickly without boilerplate, but java is better for large long-lived codebases. The improved maintainability that a strictly typed language gives you becomes the dominant factor when 80% of time is spent maintaining or extending existing code.
- paulredmond 9y agoSome fair points, but strict typing doesn't mean the codebase is bullet-proof. I've seen upgrades take months on both PHP and Java projects due to poorly maintained and poorly tested code. It's the operators not the tool that have the biggest impact on maintainability regardless of the language.