Is the use of with blocks frowned upon among InDesign scripters these days? I'm aware that they are often disfavored in the web world, but I see them used in some sample code I've seen, and being analogous to AppleScript tell blocks, it seems to cut out a lot of repetition or creating non-essential variables. Is there really a risk? Some of the reasoning I've seem mentioned to avoid it involve scoping of variables with the same name, but that could easily be avoided in a personal script, no?
↧