I wrote a piece of code that initialised a variable, a bit like this.
vars bar = newfoo();
A little while later I decided that I wanted to have this assignment survive re-compilations
of the program, so I edited the text to be something like this.
unless isfoo(bar)
then bar = newfoo()
endunless;
It took me quite some time to realise that this stacks <true> on every re-compilation.
Does the inventor of the 'vars x = y' syntax have toenails? :-)
Would it be sensible to introduce the syntax 'vars y -> x'?
We have talked about this one before, but this time I am paying attention!
James Anderson
|