More voters = better DZone links! Login and vote now.
By tommyhanks
via tombatron.blogspot.com
Published: Feb 01 2008 / 10:31
Today I finally took the time to learn about two logical operators in the Visual Basic .Net language that I had only seen in passing. I remember the first time that I saw "AndAlso" used I kind of stared at the code for a minute and said to myself, "Why in the hell did they do that?" Such ignorance. If I would have taken the time to learn exactly what "AndAlso" was all about I would have also learned about its' brother "OrElse".
Comments
robse replied ago:
I wondered why they didn't just change And / Or default behaviour. If you're interested -> http://www.panopticoncentral.net/archive/2003/08/18/179.aspx
tommyhanks replied ago:
I'm sure it had something to do with making VB look even more silly to programmers more familiar with other languages. :)
eelmore replied ago:
The coolest thing you learned today was something pertaining to VB? Damn, I thought I had a rough day!
Voters For This Link (11)
Voters Against This Link (1)