heheh so true.. I did that last week, i spent all week writing this routine for connecting shapes in flash from one to another like Visio... i wrote this huge long winded if/else/case/switch ball of code for each face.. then i came in the next morning and went..."hmm i wonder if you consolidate it down to 1 unique function and simply rotate the x/y/w/h metrics...oh..dear.god..that worked....
Point is you can stare a problem and think "yerp got it" then as your on the dunny/shower/train/checking email it hits you and you go "DUMBASS!" CFLIB also helps in situations like that were you keep chipping away at the problem with the same answers and it takes just a piece of someone elses code to unlock inspiration. Hear my wise words, for i am Deep Sleep Zen Master, Code Poet and Developer of the 8th circle...i am wise. On Mon, 28 Feb 2005 12:00:13 +0000, Adam Cameron <[EMAIL PROTECTED]> wrote: > > the worst cringing happens when you > > look at your OWN old code and think, "OMG what the hell was i thinking when > > i wrote that!!" > > Old code? I get that sometimes when I re-open my code the *following day*. > It's a good argument for not working too long on any given day. Too often > I sit down the following day and think "well, sure I *could* do it with > those 100 lines of code I wrote last night... Or maybe just this *one*". > > I have to say that I visit cflib every now and then to get inspiration for > how to attack a problem, but usually go "oh, right, kinda like that", and > then roll my own. A lot of the code there is just fine. But really a lot > of it isn't, though. > > -- > > Adam > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- Regards, Scott Barnes http://www.mossyblog.com --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
