Elevate your C programming skills by exploring the SQLite codebase
It is a nice&#x2F;ok code base. I find Redis&#x27; a bit better.<p>One thing that stood out in the article was calling out the percentage of functions with fewer than X lines. I don&#x27;t think that is a good goal to work toward. Having functions that do one thing and do it well is, and function length can be a very rough proxy measure for that. However &quot;doing one thing&quot; almost always means &quot;perform more than one step in an algorithm.&quot; I&#x27;ve seen too many code bases where &quot;keep functions short&quot; is used as an excuse to break locality by piecing functions out into smaller functions that are only ever called in one place (the function they split up). It can make code harder to read and maintain and be less efficient besides.