- Feature Articles
- CodeSOD
-
Error'd
- Most Recent Articles
- Named And
- It's About Time
- Scrollpocalypse
- Fast Quick
- 12345
- Said Different
- Ai Dios Mio
- Unrewarding
-
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
It would have been done, but the Mayan Apocalypse happened frist.
Edit Admin
And the example is what I call a "naked TODO" == there's nothing that indicates what it is that someone wanted TODO.
Since TODOs in production code are only supposed to be there a short time, and provided your team actually tries to clean them up in a timely fashion (ha!), it's quite reasonable to leave ticket numbers there. (Less opportunity to change the ticket system and invalidate all the numbers, that sort of thing.)
Edit Admin
I can't even fathom why someone would even hardcode a value in the first place, even when first writing a method they want quick. if you need the current year it's not like it's complicated code.
Edit Admin
Well, the world was going to end in 2012, so this is not a problem.