Y
Hacker News
new
|
ask
|
show
|
jobs
by
galangalalgol
145 days ago
I think there was a name for that brace style? It seems silly, but leaving c++ development after decades for a variety of reasons, it turned out a standard formatting tool was one of my favorite features.
1 comments
ahartmetz
145 days ago
For mixing styles like that?
int myFunc(int foo){ if (foo > 42) { frobnicate(); } }
link
galangalalgol
145 days ago
I was getting it confused with gnu style, which indents braces for control flow but not functions
link