I&#x27;ve been known to write things for other people, in other ways at times[1], [2], but I&#x27;ll usually start out writing this way[3], then expand it out <i>simply</i> to avoid that recoil that you just experienced.<p>I actually find working this way very helpful to finding bugs and noticing redundancies, and if you&#x27;re curious about techniques that improve the programmer, this method is worth some study.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;mmap&#x2F;blob&#x2F;master&#x2F;mmap.cpp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;mmap&#x2F;blob&#x2F;master&#x2F;mmap.cpp</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;cdp-tools&#x2F;blob&#x2F;master&#x2F;cdp-listen.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;cdp-tools&#x2F;blob&#x2F;master&#x2F;cdp-listen.c</a><p>[3]: <a href="https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;con&#x2F;blob&#x2F;master&#x2F;con.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;geocar&#x2F;con&#x2F;blob&#x2F;master&#x2F;con.c</a>