Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Curly braces

Name: Anonymous 2008-04-21 17:12

Why would anyone seriously want to use curly braces to denote scope? Surely significant indentation, or implicit scope based on the surrounding keywords, is far superior.

Also consider this: every time you wish to enter { or }, you must hold down the shift key. That is one extra wasted keypress per scopening and sclosing.

And it just looks messy, like a spastic has been scribbling nonsense all over your screen.

Name: Anonymous 2008-04-22 9:37

I like braces, they help you to know where each statement starts and ends.

I always put the curly brace under function and class, but put it to the right of for, while, if, etc.

I also use style 3 of indentation.


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List