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.

Coding and Confusion

45 pointsby joshbochuover 3 years ago

6 comments

agumonkeyover 3 years ago
I often wonder about the neurology of memory regarding thinking. Often I think intelligence main parameter is size of L0 cache in the brain (sorry for the cheap metaphor). Normal people can solve problem, but it will require dozens of round trip between making up ideas / theories, checking them, pruning what was good or not, inferring new ideas from that. While a smart guy will probably do the same steps.. but in one shot. No pause, no gaps..
评论 #30482908 未加载
评论 #30481076 未加载
评论 #30481008 未加载
评论 #30481139 未加载
reactspaover 3 years ago
I wish each language, framework and library had a manual on HOW to read their docs.<p>I have a very hard time with reading the official PHP docs. Very hard time.<p>The official JavaScript docs are not bad, but they throw too much information about each operation. I don&#x27;t want to know every single possible way to use an operation. I want a Pareto Principle-based categorization of most common use-cases so that I can prioritize what to look at.
评论 #30483690 未加载
评论 #30480626 未加载
karmakazeover 3 years ago
I was hoping to also find mentions of how to effectively reduce these.<p>When reading code, I break things down differently.<p><pre><code> 1. Domain knowledge 2. Programming knowledge (e.g. recursion) 3. What is being done 4. How is it being done 5. Where&#x2F;when is it being done </code></pre> Wherever possible I try to stay with strong opinions and alignment on the first three. The last two should try to be as simple and clear as possible. Reading code in this day and age should not so much be about &#x27;playing computer&#x27; in your head, but rather using well-known&#x2F;tested patterns that allow for factoring&#x2F;composition and accurate reasoning <i>without</i> requiring deep context.
评论 #30485449 未加载
评论 #30484561 未加载
laerusover 3 years ago
Fascinating stuff. For anyone interested in learning more and also technics for working with code, the Programmer&#x27;s Brain [0] is an excellent book.<p>[0] <a href="https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;57196550-the-programmer-s-brain" rel="nofollow">https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;57196550-the-programmer-...</a>
skimdeskover 3 years ago
Raymond Hettinger gave an entertaining talk [0] on a related topic. He taled about how the working memory limits are reflected in code, and how we can reduce the necessary cognitive load of understanding a piece of code.<p>[0] <a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=Uwuv05aZ6ug" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=Uwuv05aZ6ug</a>
评论 #30483799 未加载
knighthackover 3 years ago
This is a good article on the &#x27;states&#x27; of knowledge, and how you float between them, and how to examine your (true) understanding of a specific piece of context. Great read.
评论 #30480363 未加载