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.
What is the best typed language for back end web development?
1–10 of 16 posts
After programming the backend for my current project in a non-typed language I never want to go that route again.
Re: What is the best typed language for back end web development?
#2If you're familiar with TypeScript, you could use it on the back-end as well, with Node and a build step or with Deno.
Re: What is the best typed language for back end web development?
#3If 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!
Re: What is the best typed language for back end web development?
#4Java + Spring
Re: What is the best typed language for back end web development?
#5I 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?
#6If 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?
#7I like Crystal for this, the standard library has support for the most common stuff (HTTP server, JSON/XML parsing, logging, templating), installing additional packages is easy and the build step also.
Nice bonus: the resulting app is native and fast.
Re: What is the best typed language for back end web development?
#8Scala3
Re: What is the best typed language for back end web development?
#9Unpopular 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.
Re: What is the best typed language for back end web development?
#10TypeScript is an amazing beast on backend as well