Even though I've been using java for a long time now, it still astounds me that there is so much that I don't know. Some of it feels like dark arts to me - the kind of thing that would raise mental red flags if I saw a co-worker doing it.
Like for instance, today I learned (or relearned?) that you can write a custom annotation processor in java. It doesn't seem too useful until you get to part 3 where they do compile time code generation using velocity as the templating engine. This is the kind of thing that's really neat; I hope I never need to know it; but I try to commit it to memory because I'm pretty sure that I'm going to be called in at some point to help someone that thought that this "oh golly that's really neat" and now they've mucked up their project six ways to Sunday.
Why can't people just make things as simple as possible, but not simpler?
No comments:
Post a Comment