Re: gitweb: how to name main "action" subroutines?
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- Jul 31, 2006, 18:38 UTC
- Message-ID
- <200607312038.44337.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <eal2ic$14o$1@sea.gmane.org>
On Monday 31 July 2006 16:03, you wrote:
> I'm going to rename some gitweb subroutines to better correspond to what > given subroutine does. I have problem: how to name main "action" > subroutines? Currently they use git_ prefix, e.g. git_logo. > git_project_list, git_rss, git_summary, git_heads,...
print_* or write_* ? At least, the functions print/write the HTML code to stdout of the script.
Josef
> > I have thought about do_logo, or gitweb_logo, or out_logo etc., but somehow > none is best.