Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WhiteSage
· 7y ago · 0 comments
Nice idea! I would appreciate a warning from the author specifying whether dbg evaluates its argument twice, as if so one must be careful with side effects when using it.
Comments
[–]
sharkdp
7y ago
Thank you for the feedback. No, it does not evaluate its argument twice - see this test:
https://github.com/sharkdp/dbg-macro/blob/f30cdda9fc5332e062...
[–]
WhiteSage
OP
7y ago
Thanks for the reply. Amazing work :)