This message was deleted.
# puppet
s
This message was deleted.
g
short version is fine 👍🏽
n
It's standard to use the short version (i.e. local scope version) when in the same scope that the variable is created. The fully-scoped version is used when referencing that variable outside of where it was created.
h
thanks
b
shorter scope is also faster 🙂
r
I'd prefer the local var in that it avoids other signals when reading the code. If I come across a fully scope variable I'd assume a special case and start looking for it.