Ratliff Style
In the book, "Programmers at Work", C. Wayne Ratliff discussed using the style below. The style begins much like 1TBS but then the closing brace lines up with the indentation of the nested block. Ratliff was the original programmer behind the popular dBase-II and dBase-III fourth-generation languages. He indicated that it was originally documented in material from Digital Research Inc.
// In C for (i = 0; i < 10; i++) { if (i % 2 == 0) { doSomething(i); } else { doSomethingElse(i); } }Read more about this topic: Indent Style
Famous quotes containing the word style:
“The authoritarian child-rearing style so often found in working-class families stems in part from the fact that parents see around them so many young people whose lives are touched by the pain and delinquency that so often accompanies a life of poverty. Therefore, these parents live in fear for their childrens futurefear that theyll lose control, that the children will wind up on the streets or, worse yet, in jail.”
—Lillian Breslow Rubin (20th century)