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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Books that teach you logic building skills

85 点作者 hungle9超过 3 年前
Looking for a book/textbook that teaches you a logic building skills through real-projects for fresher programmers.

14 条评论

NotPavlovsDog超过 3 年前
Take Claude E. Shannon&#x27;s Master&#x27;s thesis, the long version. Considered by many the most important Master&#x27;s thesis of last century. It fully introduced the concept of binary &#x2F; Boolean logic to design of electronic circuits. If you understand the core premise of his work, you understand the core of computers. If you can apply his work, you can design computers.<p>Thesis:<p><a href="https:&#x2F;&#x2F;dspace.mit.edu&#x2F;handle&#x2F;1721.1&#x2F;11173" rel="nofollow">https:&#x2F;&#x2F;dspace.mit.edu&#x2F;handle&#x2F;1721.1&#x2F;11173</a> <a href="https:&#x2F;&#x2F;www.cs.virginia.edu&#x2F;~evans&#x2F;greatworks&#x2F;shannon38.pdf" rel="nofollow">https:&#x2F;&#x2F;www.cs.virginia.edu&#x2F;~evans&#x2F;greatworks&#x2F;shannon38.pdf</a><p>Go through the theory in the thesis with pen and paper, use the references as needed. Thesis, article on it by Shannon and lots of commentary available freely online. He provided a number of practical applications, with breakdown.<p>Here is the core question you need to answer to understand logic in computers: what can you do with just yes and no, represented as 1 and 0?<p>Why were these numbers reversed in Shannon&#x27;s thesis?<p>In his thesis, 1+1=1. Why? If you understand postulates, it makes sense for the kind of theory he is developing. If not, you should be very excited: mathematical theory, unlike how it is presented in bad schools, is not about following rules someone has decided on. It is about making sense in accordance with the logic you decide upon! This is as close as you can get to real magic, magic you can prove and make manifest in reality. Contemplate this deeply.<p>What kind of information can you transmit with a lamp and a switch, turning the lamp on and off? (Tip: this is the whole idea behind how the super-modern fiber-optic cables are transmitting information today, with lights blinking on and off, real fast, from one end to the other. Poetically, they are the core of the Internet).<p>Following the hyperlinks and looking up what you need should provide all the information required and more. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;A_Symbolic_Analysis_of_Relay_and_Switching_Circuits" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;A_Symbolic_Analysis_of_Relay_a...</a>
评论 #28520794 未加载
crobertsbmw超过 3 年前
I actually just wrote one. Check out Computer engineering for babies. (<a href="https:&#x2F;&#x2F;computerengineeringforbabies.com" rel="nofollow">https:&#x2F;&#x2F;computerengineeringforbabies.com</a>)
评论 #28507493 未加载
iou超过 3 年前
Not a textbook (just a book), but still a fun way to intuitively encounter formal logic - <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;To_Mock_a_Mockingbird" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;To_Mock_a_Mockingbird</a>
swayson超过 3 年前
Not a book, but I found the logic courses on brilliant.org to really stretch the brain muscle<p><a href="https:&#x2F;&#x2F;brilliant.org&#x2F;courses&#x2F;logic-deduction&#x2F;" rel="nofollow">https:&#x2F;&#x2F;brilliant.org&#x2F;courses&#x2F;logic-deduction&#x2F;</a>
评论 #28502879 未加载
bsd44超过 3 年前
One thing that completely changed my thought process and increased intellectual faculties tremendously was working in IT, precisely in Operations. The amount of problems I had to solve helped me think in a certain way. Some problems were easy, others hard, some at leisure others under pressure, but it&#x27;s the constant and consistent exercise over the years that unlocked problem solving, reason and logic capacity that I posses now and can apply in any life situation following established patterns.<p>Logic can be described in a book, but I don&#x27;t think it can be taught in a book. It&#x27;s a consequence of solving a lot of problems over a long period of time. My suggestion would be to pick up any book&#x2F;website with programming problems and work on them every day changing the problems every so often, however nothing beats actual work experience where you have someone to explain to you why something is a good approach and why not. Understand what is expected of you, see how it fits in the big picture and start by breaking it down into smaller pieces. It&#x27;s very simple, just <i>getting it</i> takes time.
billfruit超过 3 年前
I recommend &quot;Introduction to Logic&quot;, by Irving Copi and others. It is intended for philosophy majors I think, but works very well for general readers.
keskadale超过 3 年前
If I understand correctly, you&#x27;re asking for books that will teach you logic, problem solving etc? If yes, check these out: - Mathematical Circles The Russian Experience (the book is in english) - How To Solve It by Polya - brilliant.org
asimpletune超过 3 年前
The Little Schemer is fantastic
评论 #28503632 未加载
isaac21259超过 3 年前
Not exactly what you asked for but I would highly recommend &quot;To mock a Mockingbird&quot;.
webmaven超过 3 年前
The Game of Logic by Lewis Carroll
评论 #28506814 未加载
wallscratch超过 3 年前
Check the art of problem solving contest books, or project euler. I honestly think the best way to build logical reasoning skills is through real math or cs challenges, rather than some artificially constructed logical reasoning tasks.
AraceliHarker超过 3 年前
The Philosopher&#x27;s Toolkit by Julian Baggini and Peter S. Fosl (Wiley-Blackwell)
AlexCoventry超过 3 年前
It sounds like you&#x27;re looking for a book which will help a novice programmer develop logic skills through programming projects. Is that correct?
评论 #28510890 未加载
AraceliHarker超过 3 年前
The Philosopher&#x27;s Toolkit by Julian Baggini and Peter S. Fosl