4 ms·
Something the article mentions in passing is Java’s “package private” being the default. For the longest time, I believed that this was dumb, and that the defa
by pdpi 1y ago
Something the article mentions in passing is Java’s “package private” being the default.
For the longest time, I believed that this was dumb, and that the default should’ve been private. Over time, my style has changed a fair bit, and these days I tend to think of packages, rather than classes, as the more important unit of code, and I find that package private was probably the right choice.