View Full Version : src style pref...

12-27-2001, 01:23 AM
do you go past 80 characters a line? do you go past the 8:3 file name? i do not for neither...

12-27-2001, 01:46 AM
I go way passed 80 characters per line on occasion. I've got more than 1000 pixels of horizontal space... I don't write code in a console (And I am not the type to try to help those who do ;), so why not use it?

Never heard of the 8:3 rule though.

12-27-2001, 01:50 AM
the 8:3 is the DOS FAT16 file naming system limitation... 8 characters for the name, 3 for the extension...

autoexec.bat, for example...

oh, and yeah, i don't type in a console either, but i try to do that just so people who might, can read it... plus it makes block commenting a really easy choice...

12-27-2001, 06:15 AM
78 characters per line is my 'limit'. Keeps the code readable ;)


12-27-2001, 08:22 AM
I keep my lines of code at 80 for printing purposes. I've got comment macros set for that. I do occasionally go past though but only by a few characters.
I hate printing code and having it wrap on me.
Plus, I was trying to help a friend debug his program and took forever because it was on a line that was way longer that screen width.
So that's my rule: 80 +/- chars for safe printing or screen width at the max so you can see all of your code.

12-27-2001, 08:53 AM
I've actually never thought about either. I just type enough so it doesn't go past the right edge of my IDE. Sometimes I have to go beyond, but I try not to...I hate having to scroll right to see all my source.

And as for filenames...if the person's still running on old version of DOS and a FAT16 FS I feel sorry for them...they probably couldn't compile my code anyhow, since I do mostly windows. And anyhow, didn't MS put VFAT into DOS sooner or later? Maybe it was in DOS 6...

Although one thing I DO agree with is the 3 letter extensions...it's what I've always seen, and I'm really used to it...anything else looks weird.

12-27-2001, 12:17 PM
I type till the screen ends.

12-27-2001, 01:00 PM
80, mainly for printing and also for keeping the code readable in my editor. On the left site I have some toolbars and a project overview.

12-27-2001, 03:31 PM
oh yeah, duh, printing... but i rarely print... since i always _think_ that i'll be examining my code on the go, but i never do anyway... [it's all in my mynd... it's just a matter of getting it to the screen...]

>since I do mostly windows.

speaking which, i mostly [read: only] do dos... :)

>I feel sorry for them...

ah shat app!