What is the best way to use whitespace while programming?

Posted by Emmanuel Smith on Stack Overflow See other posts from Stack Overflow or by Emmanuel Smith
Published on 2010-06-14T17:22:53Z Indexed on 2010/06/14 17:32 UTC
Read the original article Hit count: 270

Filed under:
|
|
|
|

I'm fairly new to programming and from learning I have seen different ways of formatting code, comments, etc; and have been recommended on different techniques.

I mostly program in C#, C++, and Java so I want to know what is the the best way to layout code so that if other people where to go through it, they would be impressed by how simple and easy to understand it is.

I would like to know the same thing for commenting as well.

© Stack Overflow or respective owner

Related posts about c#

Related posts about java