Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
I don’t think they were disagreeing with you, I think they were just trying to say:
You shouldn’t need braces to be vertically aligned if your code is uniformly indented. Then you can easily see what code is paired together just by their indentation level.
Of course this is not always true if you’ve got a bunch of crazy nested indentation pushing things off to the right.
I don’t think they were disagreeing with you, I think they were just trying to say:
You shouldn’t need braces to be vertically aligned if your code is uniformly indented. Then you can easily see what code is paired together just by their indentation level.
Of course this is not always true if you’ve got a bunch of crazy nested indentation pushing things off to the right.