Instrumenting jasserts?

Hello fellow rubyist!

This thread might be of interest to you re: crash reporting:

Just as another data point, my personal take is that runtime issues are far less interesting/common in modern C++ than in dynamic languages like ruby, in part due to confidence given by the type system/compiling and in part due to the lack of all those sweet sweet runtime monkey patching abilities (which is def sad at times!).

I sort of see asserts as “casual wannabe tests” that help remind future-you what application conditions you expect to be met in code (rather than “code correctness”). I had a blog post somewhere about the usage of asserts vs. unit tests, but can’t find them now…

I plan on eventually having some runtime logging, as there are certain types of issues it would be nice to be able to monitor (fps, issues with callbacks, etc)

2 Likes