[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Globals (more ruminations)
- From: Florian Weimer <fw@...>
- Date: Sun, 18 Jul 2010 12:08:48 +0200
* Jonathan Castello:
> I personally haven't had too many nightmares from misspelling variable
> names,
I think misspelling is sort of a red herring here. The main issue is
consistent spelling, but using a global when a local was appropriate.
The code appears to work perfectly well, but it is not reentrant,
which means that it cannot be used reliably from co-routines. Worse,
it is non-reentrant with respect to other code which happens to misuse
the same global.
- References:
- Re: Globals (more ruminations), Mark Hamburg
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Geoff Leyland
- Re: Globals (more ruminations), Alexander Gladysh
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Juri Munkki
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Patrick Donnelly
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Geoff Leyland
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Geoff Leyland
- Re: Globals (more ruminations), joao lobato
- Re: Globals (more ruminations), Miles Bader
- Re: Globals (more ruminations), Jonathan Castello
- Re: Globals (more ruminations), Miles Bader
- Re: Globals (more ruminations), Jonathan Castello