Ways to put extra 0s on the stack
A lot of times, you will be faced with the following 4-character piece of code:
Element's stack-item-movement operator @ is very general-purpose, sometimes too much so for golfing, since it always takes two arguments, which may need to be separated by a space. So, it can take several characters to perform a single movement.
Usually, there is a better way to do this.
You can often produce empty values from the hash. The code
2:0 2@ can almost always be shortened to
3:~2@ to save one character because chances are that nothing is stored in the hash for that particular key.
If the top thing on the stack is the input, you can sacrifice the newline at the end of it like so:
In a limited number of cases, usually with
0 1@, you don't need the
@ at all. This works with input or when putting a constant on the stack.
text 0 1@