To be honest, you can put everything in a single line and tell the source reader to begin a pretty long, if you ask me horizontal journey, but it's not practical
This guide will follow the recommended programming style for scoop, but you are perfectly allowed to create your custom style without any issue
Just a single tab (Or 4 spaces) when opening blocks is fine
Example:
if >= 0
if <= 3
show
endif
Ok, this is a bit more difficult. I recommend this structure per line: set value print
,
because not doing so will end up making lines far too large.
Example:
set h print
set e print
set l print print
set o print
Note how l
has been printed in the screen two times, being assigned just one. Another set l
would be redundant.
Redundant instructions will be considered bad practice