----- Original Message ----- 
From: "Kevin Toppenberg"
Sent: Monday, September 05, 2005 7:50 AM
Subject: Re: [Hardhats-members] Namespacing rationale?


> So you are saying that I don't have to use namespaced variables except
> in the conditions you list.  But even so, I might have a name
> collision with something in Kernel etc during a call.
> 
You can avoid collisions with incoming variables by NEWing everything except 
what is passed to you.  You can avoid downstream collisions by NEWing 
everything except what you are passing to the callee.  You must step down a 
DO-level before doing the call so that everything saved will be popped back 
when you QUIT from that DO.

> I agree with your scoping concerns.  But I don't see how that could
> change in the language without breaking old code.
> 
Cache did it by encapsulating the new code with braces. It works quite well.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to