Hi,
I noticed there is a section of global variables with one global var on each snippet. I understand that it's not very "clear" on where to put global vars in the syntax .. but in terms of a general development rule: "keep all as local as possible", this is not very convenient. Now, about all snippets that people use, we need to remove these global vars all the time.. .
I would suggest to remove them from the snippets.. .
because .. keep in mind:

I agree. Please remove them.
I completely agree with you. Keeping the global vars in the snippets for now is a tradeoff between teaching the new AL syntax and promoting good practices.
We will most likely remove it in 2-3 months once the community is more familiar with the new syntax.
Most helpful comment
I completely agree with you. Keeping the global vars in the snippets for now is a tradeoff between teaching the new AL syntax and promoting good practices.
We will most likely remove it in 2-3 months once the community is more familiar with the new syntax.