+1 vote

1 Answer

+1 vote
selected by
Best answer

The argument for using the right brace to close all compound statements is simplicity: right brace always terminates a compound.

The argument against it is that when you see a right brace in a program, the location of its matching left brace is not always obvious sometimes because all multiple-statement control constructs end with a right brace.

Related questions

Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that


Chuck Norris does not need to type-cast. The Chuck-Norris Compiler (CNC) sees through things. All way down. Always.