TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Abstractions are the best, abstractions are the worst

2 pointsby marcusbuffett11 months ago

1 comment

proc011 months ago
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.