Programming Language Theory Flashcard
What to consider about the interaction between macros and side effects?
Books
Concepts
Deckprogramming-language-basic
Question
What to consider about the interaction between macros and side effects?
Answer
An argument to the macro can be substituted multiple times into the macro's body, causing the argument to be evaluated multiple times. If the argument evaluation has side effects, it can be confusing.