Closed Dawoodoz closed 1 year ago
Not sure if adding the complexity of automatic refactoring would make it worth simplifying the names, but a refactoring tool is needed either way for multiple purposes.
Automating word replacement derailed into an overly complex project with no well defined end in sight, so the names can stay as they are to keep it simple and reliable.
CharacterEncoding was first introduced for saving text files, so the formats that included a byte order mark had BOM_ prefixes.
Later came a separate argument telling if the BOM should be allowed or supressed, making a contradiction with the prefix. Then other methods started using the same enumeration.
It would be a relatively easy fix to automatically remove all the BOM_ prefixes, so that version 1.0 can be more easy for new users to learn.