Hi, I have a few questions on my quest to get up to speed with Smalltalk:
a) Is it possible to do parrallel assignment in the Smalltalk? In short, I would like to swap the values of two variables?
b) Where can I locate the document(s) for reflexive and meta programming? Last but not least, I'm using Mac OS 10.5.7 and VWNC 7.7. Thanks in advance,
-Conrad _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi Conrad,
On 4 juin 09, at 08:46, Conrad Taylor wrote: > Hi, I have a few questions on my quest to get up to speed with > Smalltalk: > > a) Is it possible to do parrallel assignment in the Smalltalk? In > short, I would like to swap the values of two variables? > > b) Where can I locate the document(s) for reflexive and meta > programming? > May be you would like to have a look at my previous work on MetaclassTalk http://vst.ensm-douai.fr/MetaclassTalk Noury http://vst.ensm-douai.fr/noury/ -------------- -ESUG 17th International Smalltalk Conference - Brest, France, August 31 - September 4, 2009 http://www.esug.org/Conferences/2009 -17èmes Journées Francophones sur les Systèmes Multi-Agents (JFSMA’09). Lyon, 21-23 Octobre 2009 http://bat710.univ-lyon1.fr/~sycosma/JFSMA09/ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
On Jun 4, 2009, at 12:56 AM, Noury Bouraqadi wrote: >> a) Is it possible to do parrallel assignment in the Smalltalk? In >> short, I would like to swap the values of two variables? Parallel assignment is not supported in VisualWorks. There was a variant that did so under Squeak, once upon a time, but I'm not sure if it still does. anObject become: anotherObject will swap two objects. Not exactly the same thing as a, b <- b, a. -- Travis Griggs Objologist "The project was so plagued by politics and ego that when the engineers requested technical oversight, our manager hired a psychologist instead." -- Ron Avitzur _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
On Thu, Jun 4, 2009 at 7:55 AM, Travis Griggs <[hidden email]> wrote:
Noury and Travis, thanks for responding with answers to my questions. -Conrad _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Note -- travis should also have said "don't use become:"!!
become is fine in low level stuff, but not at most levels of programming. Conrad Taylor wrote:
-- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@... Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Conrad Taylor
look at joop paper on http://stephane.ducasse.free.fr as a good starting point on reflction on smalltalk _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |