[Coco] Code Packing
Gene Heskett
gheskett at wdtv.com
Fri Nov 9 12:36:18 EST 2012
On Friday 09 November 2012 12:34:57 John Donaldson did opine:
> 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;
> });
Chuckle, and of course, not a comment in that page of the listing.
Somebody got paid to write that? Amazing, John.
>
> JohnD
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
Children aren't happy without something to ignore,
And that's what parents were created for.
-- Ogden Nash
More information about the Coco
mailing list