-
Notifications
You must be signed in to change notification settings - Fork 23
Level constants screaming CAPS #438
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
Comments
See some discussion at dart-archive/logging#46 I'm somewhat inclined to do this - there will be a fair amount of churn but it's not going to be difficult to do and we'll be churning lots of code anyway. @kevmoo @jakemac53 - assuming we'll be having a breaking version bump for null safety - would you still be opposed to this? |
In general, I support this, too. A big change, though.
We can do the deprecation dance, etc – just a bit of work.
…On Wed, Mar 11, 2020 at 5:46 PM Nate Bosch ***@***.***> wrote:
See some discussion at dart-archive/logging#46 <dart-archive/logging#46>
I'm somewhat inclined to do this - there will be a fair amount of churn
but it's not going to be difficult to do and we'll be churning lots of code
anyway.
@kevmoo <https://github.com/kevmoo> @jakemac53
<https://github.com/jakemac53> - assuming we'll be having a breaking
version bump for null safety - would you still be opposed to this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#438>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEFCWVTLZFYM73HERI27TRHAWERANCNFSM4FXRNNIA>
.
|
Is there an industry wide preference to move away from ALL CAPS to lowercase? If so, then I would say the cost of switching would be justified. When I started programming 15 years ago, constants were always in ALL CAPS. Haven't heard any discussions on this case recently though. So I am curious to understand why the inclination towards the change in case? |
There is at least a Dart preference. https://dart.dev/guides/language/effective-dart/style#prefer-using-lowercamelcase-for-constant-names |
Do not make this change. See the detailed explanation in dart-lang/sdk#58508 . |
Level constants still have screaming CAPS such as:
Is there any plan to change that (or is this package to be deprecated) or would you accept any pull request on this. If yes would change be for the previous example:
or
The text was updated successfully, but these errors were encountered: