This is not joke. This is the real code, I got from one of offshore companies, I working with
I, probably, print it and put in my office…
if( (i==j).ToString().Length == 4) { …DoSomething();…}
else if( (i==j).ToString().Length == 5) { .. DoSomethingElese();… }
else { throw new NotImplementedException(); }
January 13th, 2008 · Comments (12)
12 Responses to “This is not joke. This is the real code, I got from one of offshore companies, I working with”
Leave a Reply
Discover other tags
.NET 3.5
Accessibility
blogging general
blogging tools
C#
CodeProject
demos
DEV
DevAcademy2
download
events
fun
Hardware
help
Interop
jobs
LINQ
Microsoft
Mobile
My tools
Performance
promo
Silverlight
soft
source
teched
TechedIsrael2008
thoughts
Tips and Tricks
tutorial
Vista
Vista Battery Saver
Visual Studio
VSTS
WCF
Web
Windows 7
Windows Gadgets
Windows Live
Work process
WPF
WPF/E
WPF crossbow
XNA
XPS
My tools
- .NET Framework Detector
- Duplicate images finder
- Exchange Security Policy for Windows Mobile Devices Fix
- Gas Price Windows Vista SideBar gadget
- Israel Traffic Information Windows Vista SideBar gadget
- Localization fix for SAP ES Explorer for Visual Studio
- LocTester
- RTL and LTR in Windows Live Writer
- Silverlight controls library
- Snipping tool integration plugin for WLW
- USB FM receiver library
- Vista Battery Saver
- WebCam control for WPF
- Windows Live SkyDrive attachment for Windows Live Writer
- Wireless Migrator
- WPF Virtual Keyboard





January 1st, 2009 at 12:34 am
tamir:
or he could write:
if (i==j)
{
…Do Something…
} else {
…Do Something…
}
come on
January 1st, 2009 at 12:34 am
Mr. J –
Yes, he’ll probably should write something like (i==j).ToString().ToUpper() == "TRUE" & (i==j).ToString().ToLower() == "true" && …
January 1st, 2009 at 12:34 am
I don’t understad what you are talking about. I think it is perfectly readable
Probebaly another example of Job Security !?
January 1st, 2009 at 12:34 am
=))
January 1st, 2009 at 12:34 am
Incredible.
This is a text book example of WTF.
January 1st, 2009 at 12:34 am
I’m speechless
January 1st, 2009 at 12:34 am
Wow.
January 1st, 2009 at 12:34 am
They need only Hindi
January 1st, 2009 at 12:34 am
Hey, that code is not globalizeable!
January 1st, 2009 at 12:34 am
Chris, good idea. Did it
January 1st, 2009 at 12:34 am
You should submit that to thedailywtf.com!
January 1st, 2009 at 12:34 am
Take them to the nearest PIAZZA and ****t them