[Coco] Code Packing
    John Donaldson 
    johnadonaldson at sbcglobal.net
       
    Fri Nov  9 06:59:49 EST 2012
    
    
  
Remember back when we would pack multi-commands into one line of code or when 
doing string processing combine commands into one command just to save enough 
memory to make your program load. Well I am here to tell you that code packing 
is still alive and well. With memory not an issue anymore, I can not understand 
why anyone would want to do code packing anymore. Here is a routine I found in 
the program that I am working on at work.
Subject.Associates.ForEach( a =>
{
         var ad = assocs[a.SubjectId];
         a.FirstName = ad.Firstname;
         a.LastName = ad.LastName;
});
JohnD
    
    
More information about the Coco
mailing list