Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-28 06:46:43

On Thursday 27 January 2005 20:39, Pedro Ferreira wrote:

> > Well, consider that what we're discussing are really global
> > *constants*. It's data that is initialized once and then never
> > touched again. Global constants don't present the same kinds of
> > problems as global variables do.
> Ok, I'm convinced.
> Proposal: make everything global, except targets and all artifacts
> generated for a build.
> I'll try and make some modules' state "resettable" so we can test them
> easily.
> Anyone sees a problem? Volodya, you seemed to be in line with my
> proposal

I was and still is. If you tell me what's "resettable" then I'll be happy to
go with globals for now.

> >>> BTW, I know this is probably a religious issue, but space separating
> >>> function names from argument lists makes them hard to read because
> >>> you
> >>> can't visually "grep for [a-z](" to find all calls.
> >>
> >> It is religious but I don't have a problem with that. I'll try. BTW,
> >> what's the general feeling about that?
> >
> > I know that some significant fraction of people do it your way. But
> > what can I say? They're just wrong ;-)
> >
> :-)

At least in Python there's no question where to put curly braces.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at