ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-core
tcl-core
Re: [TCLCORE] Cloverfield references (was Re: Variable access)
by Donal K. Fellows other posts by this author
May 15 2008 8:18PM messages near this date
Re: [TCLCORE] Cloverfield references (was Re: Variable access) | Re: [TCLCORE] Variable access
Frédéric Bonnet wrote:
>  BTW, are you happy with the proposed syntax, besides agreeing or not on 
>  the whole concept of references? I.e.:
>  
>    $var  : regular value substitution
>    $&var : strong reference (early bound)
>    $@var : weak reference (late bound on access), semantically identical
>            to var name.
>  
>  After all, that was the point of the original message ;-)

Since you ask, personally, no. :-) Neither type of reference has
anything to do with reading the variable, and so should not use a $
character. After all, traditionally in Tcl variable names are not
decorated, and $ is just syntactic sugar. But for your experimentation,
you can ignore my prejudices; if I'm not contributing effort, I'm in the
peanut gallery.

This is quite apart from the whole question of references at all, which
are a can of worms. I'm assuming you won't *really* believe me on that
until you try it for yourself. :-)

Donal.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
fbonnet
fredericbonnet
Neil Madden
fbonnet
Neil Madden
fbonnet
Lars Hellstrom
fbonnet
Neil Madden
fredericbonnet
David Welton
fbonnet
David Welton
Larry McVoy
Alexandre Ferrieux
Andreas Leitgeb
fbonnet
Neil Madden
Donal K. Fellows
Alexandre Ferrieux
Larry McVoy
Neil Madden
Gustaf Neumann
Neil Madden
Larry McVoy
Neil Madden
Alexandre Ferrieux
fbonnet
Neil Madden
Alexandre Ferrieux
Donal K. Fellows
Larry McVoy
Alexandre Ferrieux
Donal K. Fellows
Alexandre Ferrieux

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved