I have read this before but just want to make a permanent reference to it in this blog. Brad Adams explains why the ArgumentNullException class violates the Design Guidelines here for not following the exception constructor patterns. http://blogs.msdn.com/brada/search.aspx?q=argumentnullexception&p...
Posted to
jokiz
by
jokiz
on 06-21-2005
Filed under: .NET, design guidelines
I've seen a part of this (Brad Adams presentation on Naming) perhaps a month ago, I just discovered that it is a part of a good set of webcasts worth seeing. Can't wait to see Brian Pepin's presentation (design time guru). http://msdn.microsoft.com/netframework/programming/classlibraries/
Posted to
jokiz
by
jokiz
on 04-25-2005
Filed under: .NET, design guidelines
I was reading Steve McConnell's first edition of Code Complete and the book is highly recommended. Although the sample uses old languages like pascal and c, and some topics does not apply to current programming languages, I love the way he presents his arguments on how to do things the right way. Although...
Posted to
jokiz
by
jokiz
on 04-21-2005
Filed under: .NET, design guidelines
I started programming with C and used Hungarian notation since then. It was very helpful back then to instantly know what type the variable is from its name. When I started programming in .NET using Visual Studio, Intellisense made a major breakthrough and helped a lot. You just point your mouse over...
Posted to
jokiz
by
jokiz
on 03-29-2005
Filed under: .NET, design guidelines
I got tired of seeing a common property of our controls (since it is part of an interface) and this week, I got fed up and can’t take it anymore seeing them. AlignmentInContainer You might suggest ContainerAlignment but layout properties obviously relates the control to its immediate parent container...
Posted to
jokiz
by
jokiz
on 03-17-2005
Filed under: .NET, design guidelines, controls, rants
I have read the Exception Handling Best Practices article in .NET in CodeProject and all this time I thought that rethrowing exceptions is this way: [code language="C#"] try { // Some code that throws an exception } catch (Exception ex) { // some code that handles the exception throw ex; } [/code] I...
Posted to
jokiz
by
jokiz
on 02-20-2005
Filed under: .NET, techie, tips, best practices, design guidelines, exceptions