I may be late to this... but you would use them like "snippets" of code that you continuously call. Writing a copy/paste style replacement is just as clean as a function but substitutes run-time overhead for compile time overhead. But it's important to note that it's a copy/paste call not a function call... You're only going to be organizing what you pass to a macro not performing anything on the arguments.
Yes!!! Thnak you for this answer! The beginig is worthless TBH but the last sentence explains it all! " You're only going to be organizing what you pass to a macro not performing anything on the arguments." which is clear now that you pointed out xD thank a lot Andrew appreciate it bro
Great video. Can you tell me what the advantage of a macro over a function is and when I should use a marco?
I may be late to this... but you would use them like "snippets" of code that you continuously call. Writing a copy/paste style replacement is just as clean as a function but substitutes run-time overhead for compile time overhead. But it's important to note that it's a copy/paste call not a function call... You're only going to be organizing what you pass to a macro not performing anything on the arguments.
Yes!!! Thnak you for this answer! The beginig is worthless TBH but the last sentence explains it all! " You're only going to be organizing what you pass to a macro not performing anything on the arguments." which is clear now that you pointed out xD thank a lot Andrew appreciate it bro
This is great! Great video man. I love it
tHIS IS AMAZING..THANK YOU SIR.
Thanks A Lot Sir.
helpfull
"if" is not a loop :)