[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: warnings

From: Alexey Mahotkin <alexm_at_hsys.msk.ru>
Date: 2001-02-03 16:46:34 CET

>>>>> "GS" == Greg Stein <gstein@lyra.org> writes:

GS> That interface implies global variables... IMO that is a non-starter.

Those global variables are static (I mean C keyword here) and completely
hidden by accessor functions.

GS> I believe warnings are a special case. Most functions will return
GS> errors rather than warnings. For those that *do* return warnings, they
GS> can return a special structure for it.

Singletons are well-defined and well-understood concept and imho they suit
perfectly here.

--alexm
Received on Sat Oct 21 14:36:21 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.