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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What was your static language alternative to Python?

4 点作者 may4m超过 4 年前
Our python code base in the company I work for is growing and we're already feeling the pain of dynamic typing (some ImportErrors, changing function signatures, dicts, unpredictability, etc) as we’re adding more junior devs. We already have mypy, good test coverage and refactored large parts to use static objects (classes instead of dicts) and that improved things, but it seems like we're spending more time on things that we should be getting for free in a static language. If you’ve migrated your codebase from python to static for similar reasons, which language and why?

2 条评论

kakadzhun超过 4 年前
Could you elaborate on what you believe you'd get for free in a static language compared to type-annotated and -checked Python? I'm curious as I'm in a similar situation, but not in a company, but as a researcher.
enz超过 4 年前
What is lacking with Mypy? Some errors are not handled/catched by it?