4
pr0t0n
8y

Probably not worst but back when I was in graduate school I used '=' instead of '.equals()' for a string, by mistake. My professor was so pissed and taunted in front of whole class about how dumb people are here without taking any names(btw I didn't realize that guy was me until later) and gave me a low score

I told her later it really doesn't matter if I used either because '=' worked just fine in my case. She was a little more pissed after knowing that I wasn't wrong. 😜

Comments
  • 0
    You mean == right?
  • 0
    @sm1th it's just single = in VB.Net
  • 1
    @zeprod ah sorry, was thinking Java
  • 1
    @sm1th even c# has ==. In fact most of the modern ones do. I wrote the program I'm talking about in Java actually, but been working on vb.net so forgot == lol
  • 1
    For clarity because I work with folk who don't writes c# I use string.equals() for my own stuff I use ==

    I write vb as well and do the same == then swear a lot
  • 2
    @philcr same here lol. Also confusing operators if you work with sql and js <> vs !=
Add Comment