How many spaces do I require to work properly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How many spaces do I require to work properly?

11th Jul 2016, 8:16 AM
JaimzTF
JaimzTF - avatar
1 Answer
0
I reckon 3, because there's 3 total characters in the "if " in "if expression" for the if statement. As such, an indentation of the statements line by EXACTLY 3 characters would make the spacing out and/or LAYOUT be MORE appealing visually, and that's the real reason for why we even wish to indent in the first place really I think...
11th Jul 2016, 9:23 PM
Krishna Limani
Krishna Limani - avatar