Oblivious field naming anti-pattern is when fields are named in a way as somebody didn't notice he is naming a thing. He missed a chance to convey more meaning in the name:
class Journal { User user; Date date; List<JournalEntry> journalEntries; }
class Journal { User author; Date lastUpdated; List<JournalEntry> entries; }
Nowadays IDEs are creating names for you after just a single keystore. Thus the field names are often the same as the class name that is the type of the field. Refactor those auto-generated names, so that your class will be more understandable.
W. Gdela
Discuss Downvote Upvote Votes: 0