Good ways to overcomplicate your code and slow down development

Chipp Walters chipp at chipp.com
Sat Sep 16 00:37:27 EDT 2006


Josh,

I'm with you on the overdoing the handler thing.

I've tried writing code where no handlers/functions are more than a
dozen lines long, and while it is an interesting excercise...it's a
real pain to debug, not to mention to go back and try and figure out
what the heck you meant to do 6 months from now.

Of course, if you are GOING TO USE the same functionality more than
once, then by all means break it out into a function, handler or even
library.

Jerry's got a nice feature in his Galaxy product whereby you just
right click on any custom handler or function call in your script and
it automatically takes you to where the handler is, so you can
continue 'walking' through your code. Can't live without that one.

-Chipp



More information about the use-livecode mailing list