Work day 29

Work today was actually really interesting and fun… and the day went by rather quickly too, which was awesome.
I spent the day working on some JUnit tests. In the process, I feel like I learned a lot more about how the system as a whole works… I mean, I’m still asking a lot of questions of other people, but at least my questions now aren’t idiotic questions, but are actually decently put-together and whatnot.
Also, I learned that Java reflection is horrible and can do amazingly bad things… for example, you can access a class’ private variables indirectly through reflection (I needed to access a private boolean in a certain instance, and modifying that code would have been less than ideal).
Ew. Ew. Ew.
At least it was nicer than what I was doing before, which involed multiple runtime casts and a stack of something like 8 method calls, along with hardcoded values.

Um, yeah.

Leave a Reply

Your email address will not be published. Required fields are marked *