Simon Willison’s Weblog

What are some books that programmers should read to understand logic?

My answer to What are some books that programmers should read to understand logic? on Quora

Logic is more of a mathematical concept than a computer science concept—programming books are unlikely to focus on it.

If you want a book that will help you understand the deeper concepts behind programming, Structure and Interpretation of Computer Programs is pretty remarkable.