Return statements for all functions
Posted
by emddudley
on Stack Overflow
See other posts from Stack Overflow
or by emddudley
Published on 2010-05-06T21:04:56Z
Indexed on
2010/05/06
21:08 UTC
Read the original article
Hit count: 206
coding-style
|return
How common is it for coding style guidelines to include a requirement that all functions include a return statement (including functions which return void)?
To avoid being subjective or argumentative, I'd like answers which can name specific companies or open-source projects which have this requirement. If you haven't ever come across this coding style guideline, or you have a resource (book, online article) which discusses it, that would be useful as well.
Thanks!
© Stack Overflow or respective owner