This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spacing around identifiers

 
Joe McGuire
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a recent submission, I had a line similar to the following:
private static int getNumber( int num, String str )
and received the following nitpick:
"spacing around all identifiers (including between identifier and punctuation)"
Is it correct to put a space between the identifier and the comma, like:
private static int getNumber( int num , String str ) ???
 
Joel Cochran
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you got it!
------------------
I'm a soldier in the NetScape Wars...
Joel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic