|
Michael Dunn wrote: DwmEnableBlurBehindWindow
Are we expecting a Windows Vista article?
|
|
|
|
|
|
I developed the habit of trying to keep it under 80 characters, years ago. I might actually want to do a printout sometime, using a font size I can read. Lately I have been programming in VB.NET and the generated code does not care how many characters there are per line, so I am going with the flow.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
I mostly press Enter in column 81 (Even with comments),
So I selected 2nd choice, however first one (80) is much simillar but it says 80 or less.
//This is not a signature
while (I'm_alive) {
printf("I Love Programming");
}
|
|
|
|
|
Nuff said
Depends on IDE and monitor since my code very rarely viewed by anyone else except myself.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Another choice for Depends is
- The font of your code
|
|
|
|
|
Most code is 80 or less. But, occasionally I will tack a
comment on the end that stretches the entire line much longer.
I like to be able to read my code without scrolling (horizontally).
But, I don't mind if the comments are more extreme. AND -- I don't
spread out to often.
WedgeSoft
|
|
|
|
|
It's the other way around for me. Comments are strictly 80, but sometimes the code goes wider because it's easier to read. This is typical of code where you need to make.a.lot.of.object.derefences.with.long.member.names(with,lots,of,needless,parameters), such as in .NET and Win32 API calls.
I know better than to design my own structures like that.
---
Shawn Poulson
spoulson@explodingcoder.com
|
|
|
|
|
|
Shawn Poulson wrote: make.a.lot.of.object.derefences.with.long.member.names(with,lots,of,needless,parameters)
While I generally try to stay under 120 columns it is not a hard and fast rule. While I will let the deferences strech out a line, I will put the parameters on seperate lines.
make.a.lot.of.object.derefences.with.long.member.names(with,
lots,
of,
needless,
parameters);
You may be right I may be crazy -- Billy Joel --
Within you lies the power for good, use it!!!
|
|
|
|
|
I have found that setting long comments off in a separate style helps readibility:
private void AssignID(int newItemIndex)<br />
{<br />
TemplateItem itemAdded = this[newItemIndex];<br />
<br />
<br />
<br />
if (itemAdded.ID == -1)<br />
{<br />
itemAdded.ID = this.GetNextID();<br />
}<br />
}
David Veeneman
www.veeneman.com
|
|
|
|