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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Abstractions are the best, abstractions are the worst

2 点作者 marcusbuffett11 个月前

1 comment

proc011 个月前
Programming itself is the art of abstracting. Functions are by definition abstractions over a set of instructions. The question is which domain is used for the abstractions as you add more and more functions. When there are bad abstractions, it just means the abstraction model used does not map properly to the problem domain.<p>The only real downside is the overhead in learning the abstractions as they can be arbitrary and would require understanding it like a machine with all it parts and what they each do. This is where functional programming offers a universal way to abstract any computation, but that is besides the point.