Y
Hacker News
new
|
ask
|
show
|
jobs
by
WhiteSage
2456 days ago
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.
1 comments
sharkdp
2456 days 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...
link
WhiteSage
2456 days ago
Thanks for the reply. Amazing work :)
link