On 22/03/2007, at 10:42 AM, Dan Nafe wrote: > I ended up using ms-excel and bbedit to generate a bunch o' code to > refer to the images literally, then pasted it into RB. > > Uggggly, but it worked!
Never underestimate the power of code generation. Regex replace in BBEdit has enabled me to write an awful lot of code very quickly over the years and I too sometimes use excel (nowadays I would most likely do it in Python because it is more flexible unless I just needed to reorder a bunch of columns by hand). checkout Python List Comprehensions some time. Don't feel ashamed of making the compiler do some work for a change :-) This is compile-time optimisation aka unrolling. People doing this kind of thing have been the major stressors of C compilers for most of the many years I've been a beta tester of such beasts. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
