On 5/31/06, Brett Lymn <[EMAIL PROTECTED]> wrote:
On Tue, May 30, 2006 at 04:55:14PM +0300, Denis Doroshenko wrote:
>
> why would you even want that (moreover in opensource)? hide for what reason?

It's called lexical scoping - it has nothing really to do with
security more to do with preventing namespace pollution.  Clearly you
have never written a library.

clearly you're impying too much here. i must admit that i have not
used statics since there was nothing in my tiny projects that would
need it. i won't argue with you, from "you have never written a
library" sounds like it would be fruitless.

if you want multiple functions named say "do_it" in your code to not
cause name clashes, then do_it(); i always try to name things the way
they very unlikely to clash with something and yet  such names seem to
make more sense. i like to debug my problems fast, to see every step,
what was called, where and with what parameters. as i said, i didn't
hit the need for it.

Reply via email to