Live data from Hacker News

What is the best typed language for back end web development?

news.ycombinator.com

11–16 of 16 posts

Re: What is the best typed language for back end web development?

#12
If you're serious about using the type system to encode business logic, improve resiliency, and reduce runtime errors: scala is really a great choice. Beware "type astronauts", FP purism, etc. and you'll be able to go very fast. You get access to the whole JVM ecosystem.

Rust is great but more clunky. I'm under the impression F# is a viable alternative.

Re: What is the best typed language for back end web development?

#16
post #6
post #3

If you are familiar with it TypeScript could be a good choice. Language preferences are very personal but I personally like Golang. It's kind of like a "batteries included" language and deploying Go, which is copying a binary to a server is awesome!

It's true if you don't have any other files such as HTML templates or CSS or whatever; which is fairly rare (don't even get my started on stuff like Packer which embed binary content inside the binary executable...). Nowadays, deploying any project should just be one docker build . away whatever the language.

Is the embedding necessarily a bad thing? I run a site entirely using Go templates and packr to embed the site’s files and it only adds a few MB. Latest version of Go has a built-in way to embed files now through a comment syntax.
Post reply on HN