2 ms·
> Apart from function calls, you can tell exactly what it does without looking up anything else, like a macro definition for example. It sounds like you’re spl
by ken 7y ago
> Apart from function calls, you can tell exactly what it does without looking up anything else, like a macro definition for example.
It sounds like you’re splitting hairs here. In my experience, macros aren’t any more mysterious than functions. The only difference, after all, is when they’re evaluated.
- balfirevic 7y agoThe other crucial difference is how their arguments (and result) are evaluated.
- silasdavis 7y agoThe difference is that they generate code. So now you have compile some code in your head as well as running your hypothetical execution. Nothing wrong with that but they tend to be harder to understand than functions.