Interesting. I’d like to hear other’s views. However, at first thought I’m against any such encoding or metadata in names.
I think it is rather like Hungarian notation, used in BCPL since there weren’t abstract problem-oriented types, but machine-oriented types or byte and word. Hungarian notation gave other programmers a ‘hint’ as to how to process the data in the container.
Abstract types meant this was not necessary, but still programmers perpetuated the practice. Programmers have a habit of being liberated from some constraint, but then perpetuating some practice dependent on the constraint, like removing vowels from names from the constraint of FORTRAN of only six-character identifiers.
Then there was the constraint of Xerox keyboards which had no ‘_’ character so programmers started using the awful camelCase (which doesn’t work on CAPITALS LIKETHIS). Niklaus Wirth himself perpetuated this.
Such conventions bake metadata into names. This is inflexible, since if something changes all instances must be changed.
So, I think it is just bad unthinking practice.
People also use file naming conventions. For example a fellow lecturer had the habit of naming all his lecture slide files <whatever>-class (the whatever was rather non-descriptive of the lecture subject)., or maybe lecture_5_class. So if I wanted to know which lecture in the course was on TCP, the file names were no help. I told him to use a clear name and put everything in a single folder named ‘class’ if that was appropriate. He got really narky. Oh well.
While I like consistent naming, I tend to dislike naming conventions.