|
|
|
|
|
by koboll
1118 days ago
|
|
The key determinant, imo, is precisely and comprehensively descriptive names Even if this leads to humourously Java-esque code, it's worth it An abstraction that has one purpose and is named to make that purpose crystal clear is a good abstraction |
|
Some people seem to get mad about the verbose naming common in Java - but it’s one of the biggest blessings I’ve ever experienced. If you name things after what they do, and that name is stupid, then it’s the quickest indicator of bad design I’ve ever seen. Good design is where every name is patently obvious and encompasses the entire purpose of the class / record / method / whatever.