3 ms·
I'm surprised that isn't used in other languages, having the test right next to the code seems such a good idea.
by tonyedgecombe 8y ago
I'm surprised that isn't used in other languages, having the test right next to the code seems such a good idea.
- giancarlostoro 8y agoRust went this path too, there's something I love about having unittesting readily available. I can choose to use it or not use it. My asserts are available to me as I so desire. Python too sorta has some unittesting in the standard library, but that's not a compiler level thing.