Time for a little geeky gimmick. Some developers see and express a lot of “WTF??” while trying to understand code
IN this spirit, i created a quick @WTF annotation for Java.
Besides being completely useless (its removed at compile time), its only purpose is to give developers a new way to express themselves in code.
The cartoon states “The only valid measurement of code quality: WTFs/minute”. With the <code>@WTF</code> annotations, I would like to take it a little further. By annotating the code, you can actually encourage colleagues to help you fix it.
The best fix for WTF-code is of course to refactor, so that it becomes readable.
The original cartoon strip: http://www.osnews.com/story/19266/WTFs_m