There is a reason why C as a language does lean beautifully to code obfuscation. We all know that C was just a joke that has got out of hand, alongside the base of all *nix environments: <a href="http://www.asandler.com/jokes/computer/c.shtml">http://www.asandler.com/jokes/computer/c.shtml</a><div>
<br></div><div><a href="http://www.asandler.com/jokes/computer/c.shtml"></a>From The Article:</div><div>We stopped when we got a clean compile on the following syntax:<br><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">for(;P(&quot;\n&quot;),R-;P(&quot;|&quot;))for(e=C;e-;P(&quot;_&quot;+(*u++/8)%2))P(&quot;|&quot;+(*u/4)%2);</font><br>
<br>To think that modern programmers would try to use a language that allowed such a statement was beyond our comprehension!</div><div><br></div><div><br></div><div><br></div><div><div class="gmail_quote">On 29 November 2010 12:53, Dan Attwood <span dir="ltr">&lt;<a href="mailto:danattwood@gmail.com">danattwood@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And for exactly this reason there has been a policy in places I have worked of running any C code through the C beautifier automatically as part of the version control check-in process.  This has the advantage that coders arbitrarily rearranging the code in their preferred style whilst editing does not look like a change, and that all code retrieved is always in the house style, which makes for easier debugging.<br>


<br></blockquote></div><div>someone at barcamp was talking about do just this. Although they went one step further where if it fell outside of some rules then they would stop it from compiling and spit it back at the developer </div>

</div>
<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>