- 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
Admin
should go up to 3999 which is MMMCMXCIX
Admin
by the way, the real WTF is inhuman resources
Admin
Had to comment on this one, even though its dead. Necro alert.
First, this test problem is a clunker. When will you need to convert from a more complicated number system to a standard one? Did you accidentally store your data in Roman numerals.
Secondly, If I were programming that ridiculous test, I might convert a decimal as a string as well. What other reason to convert from Roman Numeral other than display purposes? Stupid problem, stupid answer.
Thirdly, this isn't a failure on the programmer. You told to help the knowledge gap. The issues you had with his work is good coding practice issues, not syntax, not mechanical, etc. If you can't teach a new programmer good coding practices, then how can you expect to develop good coding style at your workplace.
No, I think your work environment would likely cause more WTF than your bosses decisions about hiring practices.
The only thing you can really point your finger at is the crappy education system in place for programmers. They spend more time on sounding fancy for their class titles, than they do trying to teach good coding practice: coding clean, maintainable, well-documented, and flexible code. Knowing when to be dynamic or static, not over-coding, etc.