- 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
Edit Admin
The ongoing history of articles here suggests strongly that the company would never learn any useful lessons from that. They might be taught those lessons, but they sure as egcs is egcs wouldn't learn them.
Admin
If it's stupid and it works than it's still stupid but you don't care because you got it on the cheap.
Management 101.
Edit Admin
There's no excuse for the second part and how the ID is checked in the array, but if the valid IDs are sparse, I'll excuse fetching the whole table thereof (a shame about the rest of the columns though).
Edit Admin
As old content is retired it's hard-deleted from the database (rather than updating a "hide me" column), so valid IDs are sparse. Given the "many years ago" era there are probably a few dozen rightsides, max, so the kid following worst practices isn't going to get bitten by time or space constraints either.
Admin
10 bucks that they've now fireed all the expensive programmers and are using AI vibe coding instead.
Edit Admin
Ah. Maxim 43, which states in full: "If it's stupid and it works, it's still stupid and you're lucky."