Notebook frustrations

This entry has nothing to do with Visual Basic, but I need an outlet for the frustrations I have endured while shopping for a notebook computer. Okay, maybe it’s somewhat related—I plan to use this notebook to develop new VB features. Does that count? Whatever…   The goal is to purchase a machine which offers…

11

Operator Overloading

One of the new features we’re adding to Visual Basic is called Operator Overloading.  This feature allows the programmer to create a class that knows what +, -, *, and other operators mean.   There are two main components to operator overloading: consumption and declaration. (Actually, I’ve just described a major precept of language design. Although they…

14

Unsigned Types

As you may have seen on the roadmap (http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx), we’ve been working on several new language features for VB .NET.  One of them includes unsigned types.  Yes, VB is finally getting unsigned types, and this will make some tasks a lot easier.   Specifically, we are adding intrinsic support for four new integral types, three of them…

7

Chat chat chat…

On Tuesday, July 29th, 2003, I’ll be participating in a chat with other members of the Visual Basic .NET team.  Please feel free to join in.  You may notice that this chat isn’t listed on the MSDN webpage, but that’s just a mistake.  Here’s the blurb:   http://msdn.microsoft.com/chats/   Date: Tuesday, July 29   Time: 1 PM to…

0

Performance techniques for converting Object to structures

If you’re converting Object expressions to structures, you can tweak your code for a drastic performance improvement.   Because unboxing a Nothing reference throws an exception, a conversion from Object to a structure involves testing for a Nothing reference before performing the unbox.  For example:   Structure Foo     Public a As Integer     Public b As Integer…

2