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
- Most Recent Articles
- Next Month
- Plenty of IDs
- Eventually
- Only Create Me if I Exist
- Death of the Auth-Er
- Get It Now
- Oh, K?
- Session Recording
- 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
