Archived

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

Source line length

This topic is 5236 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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