Hi, all.
My IVR app contains a lot of global variables, as a side effect of an inescapable vendor-supplied framework. As such, there are a lot of cases where a variable is given a value on one JSP, and is not touched again until a caller has gone several dialogs deep into the app.
When I have to add or modify such a variable, I leave a preamble comment that describes the modification, without going into detail on the whole piece of functionality:
<%--IVRAvenger 20100927 Issue#:12345: Keep track of what the caller entered. Used for multiple ID/ID change logic, further on. --%>
<assign name="gblIDInput" expr="memberID"/>
Is this misleading? Would it be better to simply add these small statements, and let other developers scan the code for the module where these variables work their (questionable) magic?
Thanks,
IVR Avenger