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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Programming in promises requires thinking about type signatures

6 点作者 jasondenizac大约 12 年前

1 comment

amatsukawa大约 12 年前
I'm not sure I agree with the sentiment that people who code in dynamic languages don't think about signatures and types. If anything, people who write in dynamic languages think about them more because they are not explicit in the language (or at least they should).<p>Dynamic properties of languages should only be used from the perspective of saving time - it's less work to make changes to code because you don't need to conform to a type system. I feel like more often than not it's used as an excuse to write sloppy code. You simply cannot write good code without keeping your types and function signatures correctly.