Bartosz Milewski wrote: > I also found out that Java's editor, Eclipse, enforces DII--a very useful feature that paid off for me in the first 100 lines of code I wrote after a long period of inactivity in Java ;-) The Java spec does, actually. Eclipse JDT just reports compiler errors as you type.