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.

Abstraction, Or, the Gift of Our Weak Brains

3 pointsby mossityover 9 years ago

1 comment

greenyodaover 9 years ago
<i>&quot;NASA computer scientists (perhaps some of the smartest, most exacting and meticulous people assembled since the Manhattan Project) write code that is so inscrutable that modern-day maintainers are forced to read the authors’ mail to figure out what the hell the software was intended to do.&quot;</i><p>The structure and quality of that code itself (e.g., its level of abstraction) may not be the main obstacle for a new developer trying to understand it. The real problem is the domain, i.e., the systems of the spacecraft that the code is controlling. Detailed information about the domain is rarely documented in the code itself, and if you haven&#x27;t worked with a Voyager spacecraft before, you&#x27;d need to dig up information about that hardware and its limitations for the code to make any sense to you.<p>As a more mundane example, if you were writing an operating system, you wouldn&#x27;t document the complete specs of the hardware inside the operating system code - you&#x27;d assume the hardware was documented in reference manuals that were available to future operating system developers. But if you didn&#x27;t know anything about computer architecture and tried to understand the code for a Linux device driver, you&#x27;d find the code &quot;inscrutable&quot;, even if it was well-written.