It's hard to write code for computers, but it's even harder to write code for humans · Erik Bernhardsson
Writing code for a computer is hard enough. You take something big and fuzzy, some large vague business outcome you want to achive. Then you break it down recursively and think about all the cases until you have clear logical statements a computer can follow. Computers are very good at following logical statements. Now, let's crank it up a notch. Let's try to write code for humans! I need to clarify what I mean. I'm talking about code that other humans will interact with. More specifically, I'm talking about the art of crafting joyful frameworks, libraries, APIs, SDKs, DSLs, embedded DSLs, or maybe even programming languages. Writing this code is much harder, because you're not just telling a computer what to do, you're also grappling with another user's mental model of your code. Now it's equal part computer science and psychology of reasoning, or something. How do you get that person to understand your code? Feynman famously said: Imagine how much harder physics would be if electrons
It's hard to write code for computers, but it's even harder to write code for humans 2024-09-27 Writing code for a computer is hard enough. You take something big and fuzzy, some large vague business outcome you want to achive. Then you break it down recursively and think about all the cases until you have clear logical statements a computer can follow. Computers are very good at following logical statements. Now, let's crank it up a notch. Let's try to write code for humans ! I need to clarify what I mean. I'm talking about code that other humans will interact with. More specifically, I'm tal
Explore this link on the map →saved by
related reading
- The Grug Brained Developergrugbrain.dev
- Things unlearnedscattered-thoughts.net
- Cognitive load is what mattersminds.md
- Malleable software in the age of LLMsgeoffreylitt.com
- Creating The People’s Computer | MIT Technology Reviewtechnologyreview.com
- AI Horseless Carriages | koomen.devkoomen.dev
- Vibe-coding limits a creator’s potentialconnieliu.work
- how I think when I think about programming - alice mazalicemaz.com
- Recommended Reading for Developersblog.codinghorror.com
- Learnable Programmingworrydream.com
- AI Design Field Guideaidesignfieldguide.com
- Writing Toy Software Is A Joyblog.jsbarretto.com