<i>I also had code generators at google that had to generate code that followed the line limit.</i><p>That&#x27;s an unusual requirement for a code generator. What is the purpose?<p>Generated code generally is not read by humans or checked into source control. I suppose in the rare event where you want to read the code you could rely on your editor&#x27;s line wrapping feature.