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

"get the data, pretty print it, then crash."

That's the most common method for debugging types in dynamic languages haha. I am all too familiar with it. :)

Though I enjoy simply never having to do this in Java/Kotlin for example.

My method for verifying, even my prototypes, is unit tests.



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

Search: