What better way to give unsuspecting developers a challenge than to redefine some straightforward numeric constants to completely arbitrary values? How about hiding the #defines in different header files and randomly flipping between the using the constant (CTR_DTE_DATA_RATE_300) and its value (5) throughout the code. Don't you wish you were Carl Kritzinger?
- 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
