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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Coding and Confusion

45 点作者 joshbochu大约 3 年前

6 条评论

agumonkey大约 3 年前
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 未加载
reactspa大约 3 年前
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 未加载
karmakaze大约 3 年前
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 未加载
laerus大约 3 年前
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>
skimdesk大约 3 年前
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 未加载
knighthack大约 3 年前
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 未加载