Elastic TabStops: A Better Way to Indent and Align Code (2017)
Unless I&#x27;m missing something it doesn&#x27;t solve the main issue with tabs vs. space which is that most people and editors don&#x27;t do it right, that is indent with tabs and align with spaces. How does Elastic TabStops deal with that? For instance in code like:<p><pre><code>    int main() {
        printf(&quot;%s, %s, %d&quot;,
               somevariable,
               somefunction(),
               42);
    }
</code></pre>
Because beyond that I personally (and very subjectively) consider that adding comments on the same line as the code is <i>usually</i> a bad idea when you can put them on the previous line and it&#x27;s both better suited to long comments and easier to match the comment with the line. In the example from the gif in the article consider the distance between the `x();` code and the matching comment all the way to the right. Putting it on the line before would make more sense IMO. Most decent code editors will also be able to wrap the comment more easily that way. That being said I&#x27;m anal about enforcing 80 columns in my code so maybe I&#x27;m just a weirdo.