Y
Hacker News
new
|
ask
|
show
|
jobs
by
envp
1642 days ago
But what if one of the arguments is a function call? Then it isn't easy to prove there are no side effects
1 comments
chrisseaton
1642 days ago
If it’s too big to in-line then yes.
link
vlovich123
1642 days ago
That’s says absolutely nothing about whether the function has a side effect.
link
chrisseaton
1642 days ago
If you can inline it into the compilation unit, then you can see if it has side effects or not.
link