Re: ";" after if statement??



"Bjorn Abelli" <bjorn_abelli@xxxxxxxxxxxxxxxxxxxxx> writes:

> A misplaced empty statement can make a logic error in the code which can be
> difficult to discover.

Which IMHO is why Java should have required braces for if, while, do
etc. like it does for try, catch, finally, synchronized.
.


Quantcast