3 ms·
In my C# code I like to leave a "throw new NotImplementedException();" behind if I can't finish something. I'm with some of the other posters though in that I
by moheeb 13y ago
In my C# code I like to leave a "throw new NotImplementedException();" behind if I can't finish something. I'm with some of the other posters though in that I like to leave stuff working at the end of the day.
- kristiandupont 13y agoDo you then add a test that fails from this exception? Otherwise, you are simply leaving a bug that is only discovered at run-time rather than one that is discovered at compile time. Doesn't seem like an improvement to me