[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] [PATCH] remove globals from hostname

From: Jeff Bailey
Subject: Re: [bug-inetutils] [PATCH] remove globals from hostname
Date: Sat, 23 Aug 2008 13:06:11 -0700

On Sat, Aug 23, 2008 at 2:22 AM, Alfred M. Szmidt <address@hidden> wrote:
>   Going by Sergey's advice on another thread, I tried to reduce the
>   number of globals used in hostname. Here is an initial patch.
> I am neither for or against this, reducing the number of globals is
> all good and well, but for a small program (like most of our programs)
> it makes little sense to me.  So I really don't care much, feel free
> to do what you consider best.

Reducing globals lets us consider turning most of this into a library
at some point with a lower risk of namespace conflicts, and such.

Not necessarily an explicit goal at the moment, but certainly not a
bad thing to hack on.

Jeff Bailey - http://www.raspberryginger.com/jbailey/
"Gay marriage will encourage people to be gay, in the same way that
hanging around tall people will make you tall."
 - Peter Gallagher

reply via email to

[Prev in Thread] Current Thread [Next in Thread]