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-21 17:45

Any language you can't do things like
[cod€]if (!connected(node1, node2));
        alternative_algorithm = 1;
[/code]
Isn't worth coding in. Remember, every time you trip your fellow programmers up, they're reminded that you're smarter than they are.

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