void
foo()
{
}
That’s what I get.
I only recently have ventured into the waters of GNU, etc, so maybe I am just too inexperienced, but…
I have never seen this convention before.
What’s the deal with it? Does it give some editor related benefits? Or human benefits?
Like knowing that each function name starts at column 1?
Edit:
I did find one website mentioning that it is ‘okay’ to do this, but it seems this is not a convention used often.
Guess the author just prefers this style, making me realize why this question might have been downvoted at the start.
I’ve worked with coworkers that loved this style and I have to admit that the ability to find a function via
grep -R ^foo .is compellingly cool but nearly any program that grows to three or more source files is best navigated in conjunction withetags,gid, orcscope(I like a combination of all three), so the benefit to simplegrepuse isn’t as compelling as it might have been once upon a time.