Coding the Egyptian way



You know the style of brackets where the opening brace goes on the end of the current line, e.g. this?

if (a == b) {
We used to refer to this style of brackets as “Egyptian brackets”. Why? Compare the position of the brackets with the hands in the picture.

Don’t do that even if you are an Egyptian..this is a bad style of coding  😀

Bookmark the permalink.

Comments are closed