<story><title>As I retire, my goal now is to release 40+ years of source code</title><url>https://dunfield.themindfactory.com/dnldsrc.htm</url></story><parent_chain><item><author>jart</author><text>I&amp;#x27;m taking a look through DOSUTIL.ZIP and I love all these simple elegant C programs. A lot of these programs somehow only manage to have 1-2 standard c #include lines. How often do you see that? I also love how, out of 20,000 lines of C code, there only exists 24 #if statements. This is how C programming was meant to be. Reading codebases like this is one of the things I drew inspiration from when I started working on Cosmopolitan Libc.</text></item></parent_chain><comment><author>cdchn</author><text>If your build targets are 1 then that saves you a lot of #if macros.</text></comment>
<story><title>As I retire, my goal now is to release 40+ years of source code</title><url>https://dunfield.themindfactory.com/dnldsrc.htm</url></story><parent_chain><item><author>jart</author><text>I&amp;#x27;m taking a look through DOSUTIL.ZIP and I love all these simple elegant C programs. A lot of these programs somehow only manage to have 1-2 standard c #include lines. How often do you see that? I also love how, out of 20,000 lines of C code, there only exists 24 #if statements. This is how C programming was meant to be. Reading codebases like this is one of the things I drew inspiration from when I started working on Cosmopolitan Libc.</text></item></parent_chain><comment><author>duskwuff</author><text>&amp;gt; A lot of these programs somehow only manage to have 1-2 standard c #include lines&lt;p&gt;Older C compilers will let you get away with a lot of sins which a modern C compiler will (correctly) call you out for.</text></comment>