News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written by tantalor on Thursday September 10, 2015 @08:20AM (#10197579)
I also had code generators at google that had to generate code that followed the line limit.

That's an unusual requirement for a code generator. What is the purpose?

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's line wrapping feature.

Re:The Hardest Program I've Ever Written by rch on Thursday September 10, 2015 @08:56AM (#10197723)
Just to choose an open source example: JET generated code from the Eclipse Modeling Framework is generally expected to be checked in, read, and edited by humans.