Java Packages

Hm. Thought for the day – the apparent hierarchical structure of Java’s package system is in fact a blatant and malicious lie and has no connection to a program’s semantics – classes in package have no relation to classes in package foo.

It’s very annoying when you forget this and things don’t work because of it, as it matters sufficiently rarely that you don’t actually think about it and it takes a long time to troubleshoot.


This entry was posted in programming and tagged , on by .