4 ms·
For anything that is anticipated to grow beyond a very small codebase, the lack of static checkability really becomes a pain with PHP. I'm surprised that Java
by edg5000 3y ago
For anything that is anticipated to grow beyond a very small codebase, the lack of static checkability really becomes a pain with PHP.
I'm surprised that Java and modern C++ are not more popular. I know for large web applications, Java is popular in "enterprise" environments.
- hipadev23 3y agoPHP has (optional) static type checking: https://www.php.net/manual/en/language.types.declarations.php https://www.php.net/manual/en/language.types.declarations.ph...
- catlover76 3y agoThere are other statically typed languages that are more pleasant to work with.
- KronisLV 3y ago> I'm surprised that Java and modern C++ are not more popular. I know for large web applications, Java is popular in "enterprise" environments. Java scales both up (Spring Boot, with it's many integrations) and down (Dropwizard, a bunch of popular packages, nice for simpler projects) pretty well, has a great runtime and the language itself is okay. Also there's .NET, where everything seems to revolve more around ASP.NET and EF, but as a consequence feels less fragmented than things on the Java side. Performance is also nice (especially on Linux with Kestrel) and the tooling is nice. Honestly, both seem a viable option for something with more typing and language guarantees, as well as on average having a bit better performance than some of the highly dynamic languages (at the expense of iteration speed early on in development). That said, Go is probably also worth a look, the deployment situation there is way simpler.