Archived

This topic is now archived and is closed to further replies.

Enselic

Source line length

Recommended Posts

For some reason I keep comments no longer than 80 chars long to be sure that they can be read without horizontal scrolling. I''m wondering how many chars/line coders view in their IDE. I thought that it is time to take a definite decision in this issue.

Share this post


Link to post
Share on other sites
I think 77 was the safe length from along time ago. Usually because of the old character windows (80 wide) IDEs.

that way it gives space for borders and so on.

BC2 (aka turbo c2) had it set to 77, and I think borland c++ 5 (not builder) had it set to 77 aswell.
I know that if I use ms-edit or pc-edit (os2) and in binary, I used edit.exe /77 filename.txt so it would fit.

Share this post


Link to post
Share on other sites