Sorry for necroing this old thread but I just wanted to expand on your answer. From your experience, do you think somebody might mind using Assert outside unit testing? Handling exceptions is better than returning nondescript nulls, however I just want to make sure when I get new job, somebody won't scoff at me for using Assert in such way.
Hi Alexander,
Sorry for necroing this old thread but I just wanted to expand on your answer. From your experience, do you think somebody might mind using Assert outside unit testing? Handling exceptions is better than returning nondescript nulls, however I just want to make sure when I get new job, somebody won't scoff at me for using Assert in such way.