[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why are people so afraid of globals?
- From: Antonio Vieiro <antonio@...>
- Date: Fri, 9 Jul 2010 13:49:05 +0200
Hi all,
Excuse my ignorance, but C has no namespaces and there's no problem in
building large applications on top of it, right?
I mean, you can always use global variables and use some sort of
discipline in names to avoid nasty problems.
But, hey, I'm a Lua newbie and maybe I'm too naive in this approach.
Cheers,
Antonio
2010/7/9 eugeny gladkih <john@gladkih.com>:
> Vadim Peretokin <vperetokin@gmail.com> writes:
>
>> I'm not sure why.
>
> what do you think, is it easy to maintain such Lua project with
> globals?
>
>> find . -name '*.ds' -exec cat '{}' \; |wc
> 232853 941638 11438118
>
>
> --
> Yours sincerely, Eugeny.
> GM of Enterprise Solutions Department
> Doctor Web, Ltd.
> http://www.drweb.com, +79119997425
>