Article 6ME3G CodeSOD: Article tF7q2

CodeSOD: Article tF7q2

by
Remy Porter
from The Daily WTF on (#6ME3G)

When I first saw Nick L's submission, I thought to myself, "This is just decompiled code, so of course the names are bad."

 Public Function tF7q2() As String Dim SelectedtF7q2 As String = Request.QueryString("tF7q2") tF7q2 = SelectedtF7q2 End Function

I mean, a name like tF7q2 can't be human generated, right? But then, the query string also contains tF7q2. And honestly, I think most reverse engineering tools would give you a more useful name than this.

I'll let Nick explain a bit more:

This is a snippet from a legacy application that is currently gobbling up all available disk space on a server. No, the developer who made it is no longer at the company. Yes, everyone wants this application dead. Don't worry, this function is referenced 5 times with no explanation to what tF7q2 means.

proget-icon.png [Advertisement] ProGet's got you covered with security and access controls on your NuGet feeds. Learn more.
External Content
Source RSS or Atom Feed
Feed Location http://syndication.thedailywtf.com/TheDailyWtf
Feed Title The Daily WTF
Feed Link http://thedailywtf.com/
Reply 0 comments