You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
In the current Hafnium code, it is difficult to tell if an identifier is a type or a variable. It might be useful to create naming rules to differentiate them.
The text was updated successfully, but these errors were encountered:
I disagree with you on the idea of such naming convention. The primary reason is that types and variables are easily distinguishable by modern IDEs. That's also one of the reasons why the "hungarian notation" is unused in most modern development projects.
I am also oppose to something like "hungarian notation". On the other hand, I am in more favor of using one of the following variations to distinguish different classes of identifiers:
For instance, I favor using ALL_UPPERCASES for constants and MixedCasesThatBeginWithUppercase for types, member functions/variables. For local variables, I prefer using all_lowercases or mixedCasesThatBeginsWithLowercase.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the current Hafnium code, it is difficult to tell if an identifier is a type or a variable. It might be useful to create naming rules to differentiate them.
The text was updated successfully, but these errors were encountered: