Are functions declared before or after calling them?

Posted by DMan on Stack Overflow See other posts from Stack Overflow or by DMan
Published on 2010-04-21T23:37:05Z Indexed on 2010/04/21 23:43 UTC
Read the original article Hit count: 275

Filed under:
|

I've made this a community wiki...

Okay, I was looking through someone's code one day and I was annoyed how they declared all their functions first and then later called them below. I guess I'm use to Visual Studio's automatically generated functions, that are made after you call them- and I was wondering, which way do you prefer? Or is there a standard on these kind of things?

© Stack Overflow or respective owner

Related posts about functions

Related posts about Community