<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: logic</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/logic.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2013-08-15T09:40:00+00:00</updated><author><name>Simon Willison</name></author><entry><title>What are some books that programmers should read to understand logic?</title><link href="https://simonwillison.net/2013/Aug/15/what-are-some-books/#atom-tag" rel="alternate"/><published>2013-08-15T09:40:00+00:00</published><updated>2013-08-15T09:40:00+00:00</updated><id>https://simonwillison.net/2013/Aug/15/what-are-some-books/#atom-tag</id><summary type="html">
    &lt;p&gt;&lt;em&gt;My answer to &lt;a href="https://www.quora.com/What-are-some-books-that-programmers-should-read-to-understand-logic/answer/Simon-Willison"&gt;What are some books that programmers should read to understand logic?&lt;/a&gt; on Quora&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Logic is more of a mathematical concept than a computer science concept - programming books are unlikely to focus on it.&lt;/p&gt;

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

&lt;div&gt;&lt;img src="https://qph.ec.quoracdn.net/main-qimg-6f05b36f7d308750ad9b02f2f0151c26-c" width="400" height="579" style="max-width: 100%" /&gt;&lt;/div&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/logic"&gt;logic&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/programming"&gt;programming&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/quora"&gt;quora&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="logic"/><category term="programming"/><category term="quora"/></entry><entry><title>Logic in Templates</title><link href="https://simonwillison.net/2007/Jul/19/aboutcmlenz/#atom-tag" rel="alternate"/><published>2007-07-19T08:35:56+00:00</published><updated>2007-07-19T08:35:56+00:00</updated><id>https://simonwillison.net/2007/Jul/19/aboutcmlenz/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.cmlenz.net/blog/2007/06/logic-in-templa.html"&gt;Logic in Templates&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
I don’t think it would hurt Django to have a bit more support for conditional logic in templates, but I wouldn’t go as far as supporting the ability to call Python functions directly.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/christopher-lenz"&gt;christopher-lenz&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/logic"&gt;logic&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/templates"&gt;templates&lt;/a&gt;&lt;/p&gt;



</summary><category term="christopher-lenz"/><category term="django"/><category term="logic"/><category term="python"/><category term="templates"/></entry></feed>