DTRT

Sep. 20th, 2007 10:53 pm
dr_tectonic: (Default)
[personal profile] dr_tectonic
God I love working with Tcl/Tk. Once you get your mind wrapped properly around it (everything is a string. No, EVERYTHING), there are so many areas where it really just Does The Right Thing without any effort on your part.

Today's example: set up a slider so that, when another control changes state, the slider gets reconfigured. What happens when the slider gets reconfigured so its current value is off the end of the scale? It changes the value to the new maximum. Everywhere it needs to be changed! Which is exactly what I would have wanted, had I bothered to think about it beforehand. But I didn't have to!

Everything is a String

Date: 2007-09-21 09:03 pm (UTC)
From: [identity profile] castleclear.livejournal.com
How cool! Would it be possible to apply String theory to socio-economic politics? Or rather, to make socio-eco-politics conform to your experience re: string?

Of course, it's entirely possible that The Right Thing is happening but I may be sufficiently out of tune to notice...