- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
At least the folks writing bugs using
Utils.Utils.Whatevercan have their bugs fixed in one place. The "fun" ones are when folks copypasta the functions out of Utils.Utils into their own app'sUtilsclass while using theUsingdirective to mask whichUtilsis being ... Utilized. ;)Admin
on *its own
Admin
Only thing I could imagine where this would be (at least a little) reasonable:
Porting very old code from old language to .net, and the old language did not have such a nice function (and others) as .net. Old code used "Utils.Utils". Instead of changing occurence everywhere, you just change your "Utils.Utils". And whenever you have new code, someone uses the direct way...
Still WTF.
Admin
Two things come to mind:
Occasionally one refers to something often enough that creating a shorter form of it makes the code more readable.
More like, Sebastion is right and this is a port.
Admin
That happens if your programming language doesn’t provide a convenient way to abbreviate overly long references or the programmer doesn’t know how to use it. I guess the latter one