code size within a function

Hello All,

Is there any standard or specification which says that lines of code within a function should not exceed some number (ex: not more than 100 or 60 lines etc..). If anyone has information please share it.

Regards,
Kumar
No
As a general rule, functions should do one thing, and do it well. If you adhere to this
guideline, you'll find that the majority of your functions are "very short" (not going to give a number for this, but certainly less than 60 lines).
Thank you Mr.Bazzy and Mr.jsmith for replies
Topic archived. No new replies allowed.