Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Awesome way of doing assertions! https://github.com/udp/lacewing/blob/f1c6386bf33f470ff61b275...

I remember I used to do something like that in C++ because throwing exceptions on error situations gave me zero debug information about what happened. But forcing a segfault instead you can get the stacktrace.

As someone else commented: kudos for you code! It's really clean and well laid out.



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

Search: