This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've been looking over the Style Guide section 2.2 - Spacing. I cannot locate the problem with spacing in my reviewed code below. Please help. Thanks. ________________________________________________________ String theName = ( args + " " ); int printsPerLine = 79 / ( theName.length() ); int totalFullLines = 100 / printsPerLine; spacing around all identifiers. int lastLinePrints = 100 % printsPerLine; spacing here also.
Hey Mike, I still get that response every so often. spacing around all identifiers means before and After the identifiers. For example: x = y + z ; Amber [This message has been edited by Amber Woods (edited May 15, 2001).]
"Happiness is a way to Travel, <b>Not</b> a Destination" -- Unknown
int totalFullLines = 100 / printsPerLine; int totalFullLines = 100 / printsPerLine"here a space too! ;-) "; Try to find an editor or IDE which does this kind of stuff automatically! Until now I have a 95% solution of this kind of problem by using the IDE of Together ( University licence ) where I can manage the style of beautifying.
[This message has been edited by Peter Gragert (edited May 17, 2001).]