First C++ ditched them, and now VB does too! Bye bye underscores!

I know so little about C++, but will always remember Kate Gregory touting  "no more double underscores" as a big benefit of C++ in VS2005.

I don't even know where they are used.

But I've had my own underscores to contend with for many years  - the line continuation notation for Visual Basic.

Finally, they are going away in VB10. As a developer they are a pain, but they are even worse when you are formatting code for articles and books.

Apparently the final blow to these little suckers was the difficulty they added to writing multi-line LINQ queries and in VB10, the new multi-line lambdas.

Bye bye underscores.

Oh and note that we don't have to add a semi-colon to indicate the true end of a line. ;-)

You can read more on Beth Massi's blog and check out the 22 minute interview she did on Channel 9 with Tyler Whitney on "implicit line continuation" in VB.

For the sentimental, there's a new website to honor the poor jobless underscores. (http://www.unemployedunderscores.com/) Thanks, Beth.

#1 Carlton on 5.22.2009 at 11:18 PM

Hi guys. No great improvements in the lot of mankind are possible until a great change takes place in the fundamental constitution of their modes of thought. Help me! Need information about: Turbo Tax. I found only this - turbo tax. Synthroid for sale at online pharmacy shinkatech. Automatic download begin manual download. Best regards :rolleyes:, Carlton from Great.