News for hackers. Stuff that matters.
Re:C-style: My favorite C programming practices by ykonstant on Monday May 20, 2024 @04:37AM (#40413500)
It is a fair point, but a book is 60 - 80 characters of dense prose line after line in thick paragraphs; it is not clear how this translates to lines of code.
Re:C-style: My favorite C programming practices by f1shy on Monday May 20, 2024 @11:16AM (#40416469)
In my personal experience (and of couse very subjective) it helps me a lit to have lines that fit the monitor, and I can have 2 parallel windows. Using 120 chars is for me just too much. I do think the golden rule of typography is “all rules can be broken if you know what you are doing”. For me is a soft limit. If splitting a line makes the code less readable, I do allow more. But frankly, that is the case of one in maybe 50k LOC