«« Next » « Previous
«« Next » « Previous

Link Details

More voters = better DZone links! Login and vote now.
Link 64356 thumbnail

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".
  • 11
  • 1
  • 966
  • 308

Comments

Add your comment
User 249616 avatar

robse replied ago:

1 votes Vote down Vote up Reply

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

User 270754 avatar

tommyhanks replied ago:

0 votes Vote down Vote up Reply

I'm sure it had something to do with making VB look even more silly to programmers more familiar with other languages. :)

User 218789 avatar

eelmore replied ago:

1 votes Vote down Vote up Reply

The coolest thing you learned today was something pertaining to VB? Damn, I thought I had a rough day!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.