hownot2code.com
Avoid using a macro if you can use a simple function
A lot of other errors are connected with macros. Advantages of a function over a macro – the code is simpler and more reliable.