3 ms·
I've never seen code with a long comment unbroken. 120 columns maybe, but never like 1000. What if the comment were indented? In most editors, the wrapped part
by blt 2y ago
I've never seen code with a long comment unbroken. 120 columns maybe, but never like 1000.
What if the comment were indented? In most editors, the wrapped part would start at column 0 and break the appearance of indentation.
- jraph 2y agoRight, code is its own thing with its own customs. For some reasons I didn't assume we were talking about code. I do wrap my code comments because that's what people expect and want indeed. On the projects I work professionally we also have a hard limit at 120 characters enforced by checkstyle, so no choice. On personal projects it's usually 80, maybe I should relax that a bit, 120 is quite nice actually.