<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: indentation</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/indentation.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-01-02T10:26:10+00:00</updated><author><name>Simon Willison</name></author><entry><title>Quoting Elliotte Rusty Harold</title><link href="https://simonwillison.net/2009/Jan/2/semicolons/#atom-tag" rel="alternate"/><published>2009-01-02T10:26:10+00:00</published><updated>2009-01-02T10:26:10+00:00</updated><id>https://simonwillison.net/2009/Jan/2/semicolons/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://cafe.elharo.com/programming/prefer-multiline-if/"&gt;&lt;p&gt;The compiler only pays attention to the semicolons and braces while ignoring the line breaks and indentation, but humans usually only pay attention to the line breaks and indentation while ignoring the semicolons and braces. This gives the code the opportunity to lie about what it’s really doing. Consequently we need to take extra care when writing in C, Java, C++, C# etc.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://cafe.elharo.com/programming/prefer-multiline-if/"&gt;Elliotte Rusty Harold&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/c"&gt;c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/codestyle"&gt;codestyle&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/elliotte-rusty-harold"&gt;elliotte-rusty-harold&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/indentation"&gt;indentation&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/java"&gt;java&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/syntax"&gt;syntax&lt;/a&gt;&lt;/p&gt;



</summary><category term="c"/><category term="codestyle"/><category term="elliotte-rusty-harold"/><category term="indentation"/><category term="java"/><category term="syntax"/></entry></feed>