March 2007 Entries

The ‘=’ operator vs. Equals() in VB.Net

As I was reading yet another chapter in Code Complete Second Edition by Steve McConnell I started to think about the VB operator '=' versus the C equivalent '=='. Even though im a big VB fan I must say the C style is much better. In VB we use the same operator for two purposes, in one place we use it for ASSIGNING data and in another we use it for COMPARING data. However, I thought that why not use Equals(obj,1 obj2) instead of '=' for comparisons, if not only for the sake of maintaining a more consequent...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Scott Guthrie on the new features of Orcas, a must read!

If anybody has missed it, Scott Gutrie has started to post a great series of posts about the new features of the Visual Studio Orcas release (planned to be released later this year). Here is a link to the last post about class extension methods, that BY FAR must be the coolest new feature yet have I have seen in Orcas. Some VB9 content about the stuff he mentions (in C#) can be found here...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

«March»
SunMonTueWedThuFriSat
25262728123
45678910
11121314151617
18192021222324
25262728293031
1234567