-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactoring: naming and typos in code #2207
Comments
Actually yes this is a problem. I would say that the only moment we might be able to fix them is before a major release: then if we already break some things we might agree on breaking more things for a good reason. In the meantime I'd keep the typo. |
Just remark: while developing software, I observed that code rot starts from small things (like typos, formatting, etc.). Then bigger flaws follow (broken window). Removing any flaws (sacrificing backward compatibility) imho pays in the long run. I know, sounds terrible! ;-) Also, what is counterintuitive, typos have many disadvantages.
This is counter intuitive but typos in practice makes development slower (one has to learn and remember misspelled names of variables, functions, classes), make attacks easier (see Zerocoin case) and make code looking unprofessional. |
@zielint0 can we close this one? |
I would like to fix few more until 2019 and close it myself. |
There are many typos / errors / misspellings that
I hope there are no obstacles to fix them (API compatibility?)
refactor: occurences -> occurrences refactor: fix naming occurences (re-introduced) #2214refactor: fix naming: RECURSIVE_WILCARD -> RECURSIVE_WILDCARD refactor: fix naming: RECURSIVE_WILCARD -> RECURSIVE_WILDCARD (re-introduced) #2213CtRole.java: ANNONYMOUS_EXECUTABLE -> ANONYMOUS_EXECUTABLE
src/main/java/spoon/reflect/meta/impl/ModelRoleHandlers.java: CtClass_ANNONYMOUS_EXECUTABLE_RoleHandler -> CtClass_ANONYMOUS_EXECUTABLE_RoleHandler
refactor: fix typo in element printer helper.java QALIFIED_NAME_SEPARATORS -> QUALIFIED_NAME_SEPARATORS refactor: fix typo in element printer helper.java #2223fix typo: Occurence->Occurrence fix typo: Occurence->Occurrence (important for consistency, see previous changes!) #2249refactor: fix some typos refactor: fix some typos #2253I would like to go forward and FIX them all.
@surli
Any opinions?
The text was updated successfully, but these errors were encountered: