System.Diagnostics.Debug.Assert();
Hello??? A language should encourage programmers to heavily use the
assert-feature, since it improves safety, stability, readability and
maintainability of software. Most language designers recognized this, see
C/C++ and Java which supports an assert keyword.
My question now is, will C# support in future a single keyword for
System.Diagnostics.Debug.Assert(), just like lock is a keyword for
Monitor.Enter()?
Putting "using System.Diagnostics.Debug;" in every single source file, is
not acceptable for me.
assert is/should be used in every application, no matter which kind of
application it is. Name me just one method/class where this is also the
case.
What do you think?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk