Hacker News new | past | comments | ask | show | jobs | submit login

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.



Thank you for the feedback. No, it does not evaluate its argument twice - see this test: https://github.com/sharkdp/dbg-macro/blob/f30cdda9fc5332e062...


Thanks for the reply. Amazing work :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: