Is it good practice to explicitly declare local or global variables all the time?

Is it a good coding practice in Amibroker to always explicitly declare local/global variables?

In other words, write this at the top of every formula.
SetOption("RequireDeclarations", True );

https://www.amibroker.com/guide/keyword/local.html

What is the opinion of the experts here? Are there situations when not requiring declarations is preferable?

@thankyou18 there was a discussion regarding this topic in these threads:

3 Likes