TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

7 点作者 hackater超过 3 年前
After programming the backend for my current project in a non-typed language I never want to go that route again.<p>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.

13 条评论

fgonzag超过 3 年前
Unpopular opinion but... most of them are more than good enough. .net with C#, java (though I&#x27;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.<p>I&#x27;d do a simple CRUD app in all 4 of them and see which one I liked best from tooling to language design.
_benj超过 3 年前
If you are familiar with it TypeScript could be a good choice.<p>Language preferences are very personal but I personally like Golang. It&#x27;s kind of like a &quot;batteries included&quot; language and deploying Go, which is copying a binary to a server is awesome!
评论 #28626496 未加载
ttymck超过 3 年前
If you&#x27;re serious about using the type system to encode business logic, improve resiliency, and reduce runtime errors: scala is really a great choice. Beware &quot;type astronauts&quot;, FP purism, etc. and you&#x27;ll be able to go very fast. You get access to the whole JVM ecosystem.<p>Rust is great but more clunky. I&#x27;m under the impression F# is a viable alternative.
simantel超过 3 年前
If you&#x27;re familiar with TypeScript, you could use it on the back-end as well, with Node and a build step or with Deno.
tofukid超过 3 年前
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).
maattdd超过 3 年前
I like <i>Crystal</i> for this, the standard library has support for the most common stuff (HTTP server, JSON&#x2F;XML parsing, logging, templating), installing additional packages is easy and the build step also.<p>Nice bonus: the resulting app is native and fast.
JaggerJo超过 3 年前
We have great success with F# (both backend and frontend).<p>Can’t recommend it enough.
approxim8ion超过 3 年前
I&#x27;ve been using TypeScript and quite like it.
k0t0n0超过 3 年前
C# or java, if you are Node developer try TypeScript
aristofun超过 3 年前
TypeScript is an amazing beast on backend as well
zkr超过 3 年前
Java + Spring
Darmody超过 3 年前
PHP<p>declare(strict_types=1);
epimetheus2超过 3 年前
Scala3