Broken Java

This morning I had to write the code to initialize a field to one year before today. It was *four* lines. And it is not type safe, but using magic int constants.

This entry was posted in Java, Tiraden. Bookmark the permalink.

Leave a Reply

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