Common sense is 80 columns for prose, because anything longer makes it difficult to easily read from one line to the next.
Code, however, (a) does not fit into dense paragraphs, and (b) often comes with heavy indentation. I used to try and fit it into eighty columns, and ended up with the code more difficult to read, as a result. I'd say 132 columns is a reasonable optimum on this scale.
no subject
Code, however, (a) does not fit into dense paragraphs, and (b) often comes with heavy indentation. I used to try and fit it into eighty columns, and ended up with the code more difficult to read, as a result. I'd say 132 columns is a reasonable optimum on this scale.