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 >> squeak
squeak
Re: Squik language features
by Anthony Hannan other posts by this author
Apr 17 2003 2:37PM messages near this date
[BUG]No default download directory in SqueakMap? | Problem with uploading on minnow
"Richard A. O'Keefe" <ok@[...].nz>  wrote:
>  	A temp var is declared in the scope where it is first assigned.
>  
>  *EEEK*  I've used a couple of programming languages with that rule,
>  and it is an extremely good way to introduce bugs.  We already _have_
>  Smalltalk syntax for declaring precisely where you want temp vars to
>  be; what's wrong with that?  (Mind you, I had some trouble _believing_
>  the Smalltalk syntax, e.g. [:foo||bar| especially as || is a token in
>  ANSI Smalltalk, but I did manage to get a parser to parse it correctly.
>  Still, _any_ explicit syntax for this is better than making it implicit
>  that way.  Generations of Squik programmers will curse this decision if
>  there ever are any such generations.

Alright, I'll concede.  I just thought it would be nice to get rid of
the temp var list syntax.  This way all code would just be statements.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved