We may need that all variables are by default lexical.

Without the explicit declaration of cross-thread visible variables, doing
threading may well be difficult (on one's fingers)

<chaim>

>>>>> "PC" == Piers Cawley <[EMAIL PROTECTED]> writes:

>> * no need to declare variables: I think variables should be
>> lexically scoped by default, without having to think about and write
>> all those 'my's.

PC> I'd like to see that as a pragma:

PC>     no need_for_my

PC> Et voila, all variables are lexical by default, and you run the risk
PC> of typoing. But -w should spot that for you.

PC> Personally I like $foo->{member}, it's explicit and it does what you
PC> need. Again, this is merely personal, but I find the
PC> object.with.lots.of.dots = "Bloody annoying" style to be, well, bloody
PC> annoying.

Well what about->{lots}->[of]->{nested}->[punctuation].

Periods are a bit less noisy. But number of characters is not enough
reason to change it.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to