On Thu, Aug 26, 2010 at 12:19:33AM +0200, yy wrote:
2010/8/25 pancake <panc...@youterm.com>:
* I will probably swap the order of the conditional clauses: (what do you
think about it)
3 3 == { 'Is equal duppy\n' print } if
-->
{ 'Is equal duppy\n' print } 3 3 == if
Hmm, personally I prefer the 'condition first' order... Why do you like
the 'condition later' order?
My way is more logical fr a stack based vm. Just flip your mind. :)
It does not work that way in postscript and, as I already said in
another message, it does not work that way in forth, neither in toka
or raven. Would you mind explainning why your way is more logical? I
think it could get compicated once you introduce else or nested if
blocks.
It does work that way in forth. At least, the conditional comes
just before the if token (though the branches come after it).
--
Kris Maglione
A smart terminal is not a smartass terminal, but rather a terminal you
can educate.
-- Rob Pike