Gotchas: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
(Added Quackery.) |
||
Line 388: | Line 388: | ||
<small> (It surprises me to read Andrew Koenig in ctraps.pdf saying |
<small> (It surprises me to read Andrew Koenig in ctraps.pdf saying |
||
"In most languages, an array with n elements normally has subscripts ranging from 1 to n inclusive.")</small> |
"In most languages, an array with n elements normally has subscripts ranging from 1 to n inclusive.")</small> |
||
=={{header|Quackery}}== |
|||
My two most frequent whoopsies are using <code>if</code> instead of <code>iff</code>, and forgetting to put <code>again</code> at the end of a <code>while</code> loop. Both are hard to guard against as pretty much any sequence of words could be a reasonable construct in Quackery. |
|||
One gotcha specific to programmers with experience of Forth could be that the outputs of <code>/mod</code> are the opposite way round in Quackery. |
|||
=={{header|Raku}}== |
=={{header|Raku}}== |