View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-09-2023 , 21:27   Re: Compiler shows 'loose indentation' despite code being ordered
Reply With Quote #5

Use tabs. Show whitespace. Much easier to maintain proper indentation.

Quote:
Originally Posted by Natsheh View Post
Because the compiler expects the code to be in curly brackets .
I actually don't think that if there is only a single line that the compiler cares (though the person should care). I dislike not using braces most of the time. I basically only skip braces when I'm returning a value and ending the function execution.
__________________
fysiks is offline