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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What I Would Like to See in a Type System

1 点作者 louden超过 6 年前

1 comment

smt88超过 6 年前
Some of what you ask for is impossible in a static type system for a Turing-complete language.<p>If you want it to happen at runtime, you could accomplish something almost exactly as you describe with macros in multiple mainstream languages. Or, as you alluded, just use business logic.<p>You&#x27;d probably enjoy a more declarative language like Haskell, honestly.
评论 #18308859 未加载
评论 #18308938 未加载