flabberghaster OP wrote
Reply to comment by musou in Rust has an incredibly steep learning curve but it's a neat language. by flabberghaster
I haven't even though about unit testing yet. I almost never unit test my utility scripts which is all I have built with it yet.
twovests wrote
When learning new languages, I throw assert
s all over the place. Learning to unit-test usually requires knowing more of the language than I already know, but assert
s provide 90% of that value by forcing the code to crash if my mental-model of the code does not match reality.
Viewing a single comment thread. View all comments