«

»

Frustrating Afternoon

This is just an extended vent, but I’m working on something today, and I hate it when this happens.

Start with scenario 1.  Run test.  Get result 1.

Change one variable in scenario 1 to create scenario 2.  Run test.  Get result 2.

Take scenario 1 and change a different variable.  Run test.  Get result 3.

So far, so good, right?  We changed some stuff and got different results.

Change variable back to match scenario 1.  Run test.  GET RESULT 3 or 2, but not 1.

Given that I’m talking about computer programming, not something like cooking, this experiment makes no sense and is incredibly frustrating.

  • David Leedy

    Something like this happened to me long ago.  In that situation in XPages, somewhere in my SSJS I forgot to precede a variable with “var”.  You really don’t want to forget that.