You're Better Off Fixing ThemYou might have noticed that the Run-On Initializer bug is a bit different from some of the other patterns we've worked with. This time we've provided quite a few ideas on how to work around the root causes, rather than just fixing them outright. That's because, on many occasions, you will have to work around them. As the considerations we've mentioned indicate, it is far better to avoid run-on initializations altogether. But when you have to deal with them, at least you can protect yourself. |