![]() |
This is what I have to put up with at work
At work, we are making changes to a really poorly made system. But today, my co-worker found a block of code that exceeds all others in stupidity:
Code:
If oContext.SiteID <> "" And 1=0 ThenCode:
If bPrioritizeMine And (CStr(rsTemp.Filter)=sAgentListingFilter) And (1=0) Then |
I don't usually like these images but I think it fits perfectly
![]() |
![]() |
What is with everyone and that evil confusing hungarian notation...
is that Basic? If it is I would just quit on the spot. |
They're not confusing, I actually really like using them since I read about them here because it makes your code even more readable - I can scan a page and quickly see where all of one specific variable is, as opposed to regular english variables that can blend in a lot easier.
http://www.talkphp.com/tips-tricks/1...-prefixes.html Explains a lot of the ones used by people in this forum, though I think we all have our own minor variations (for example I went through phases where I used i, then int, then iz, and now I'm back to i... my style evolves as my knowledge does, sometimes for good reasons, other times just because I need to try things before I find what I like). -m |
You should submit that to the Daily WTF :)
I suppose it's a good debugging tool :P |
Quote:
Quote:
|
Code:
Catch ex As Exception |
| All times are GMT. The time now is 08:51 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0