Syntax data greater or less

Which would be less data for the final program:
1
2
3
if{
//stuff
}


or:

1
2
3
4
if
{
//stuff
}


Or would it be the same amount of data.
The indentation and spaces, new lines, etc. in your program make no difference. You can do whichever style is easier for you to read and write, they will both have the same size.

Also, you shouldn't be concerned too much about the size of your program - this is the 21st century.
Last edited on
Right on both counts.

Although a programming language is designed to be understood by the compiler, its real strength is that it can be understood by a human being. Therefore, add as much whitespace, and use whatever layout makes the program easiest to comprehend by the human reader.
Thanks so much! This was starting to concern me.
Topic archived. No new replies allowed.