Live data from Hacker News

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

news.ycombinator.com

1–10 of 16 posts

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

#1
After programming the backend for my current project in a non-typed language I never want to go that route again.

I think actually that the frontend project with all of its thousand of files and components is easier to handle just because typescript helps me so much.

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

#5
I enjoy using Haskell, because of the type-safety, referential transparency, and stability of interfaces. I use Twain for HTTP server and routing + blaze-html for HTML + Selda for interfacing with SQL. I’ve built my last few projects this way (listed in my profile).

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

#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.

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

#9
Unpopular opinion but... most of them are more than good enough. .net with C#, java (though I'd probably use kotlin), typescript, and go are the most popular ones and they will all do whatever you need with pretty great performance if written correctly.

I'd do a simple CRUD app in all 4 of them and see which one I liked best from tooling to language design.

Post reply on HN