Comment by nealabq
2 hours ago
You're right of course. I was thinking specifically of printing log/debug statements in the assert(..), but that usually only happens if the assert(..) fails and exits, and in that case the "no side effects" rule no longer matters.
No comments yet
Contribute on Hacker News ↗