www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/10/07:35:35

From: pjotr AT wlink DOT net (pjotr)
Newsgroups: comp.os.msdos.djgpp
Subject: question
Date: Sun, 10 Jan 1999 12:20:36 GMT
Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here!
Lines: 12
Message-ID: <36989ad9.12371104@news.w-link.net>
NNTP-Posting-Host: 208.151.227.206
X-Trace: 915971048 T.3QWX1FWE3CED097C usenet53.supernews.com
X-Complaints-To: newsabuse AT remarQ DOT com
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a question about C (or C++) in general.

When writing code, is there like a maximum size of lines per function
you should take into account? I just wrote a 200+ lines function and I
was just wondering if maybe it's too large for just one function.

I know it wouldn't make a difference at runtime, but as a C-writing
etiquette, what would you suggest? Note that those 200+ lines DO
include comments.

Pjotr

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019