Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Daily WTF
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00963137
Message ID:
00963707
Views:
9
>Today's post is called: "When If-Then Attacks".

I recently debugged a multi-nested IIF() that sorta had grown like mushrooms for several years. Everyone who came before me added conditions by adding another IIF().

The reason I was debugging? The code was always running. All the additions had turned the expression into:

IF .t.

<g>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform