News for hackers. Stuff that matters.
Re:Ask HN: If you were to build a web app today what tech st... by edg5000 on Sunday October 29, 2023 @11:57AM (#38059768)
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.

Re:Ask HN: If you were to build a web app today what tech st... by hipadev23 on Sunday October 29, 2023 @12:12PM (#38059925)
Re:Ask HN: If you were to build a web app today what tech st... by catlover76 on Sunday October 29, 2023 @03:05PM (#38061569)
There are other statically typed languages that are more pleasant to work with.
Re:Ask HN: If you were to build a web app today what tech st... by KronisLV on Sunday October 29, 2023 @08:00PM (#38064106)
> 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.