Skip to content
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

Add ๐ŸŽ›๏ธ for added/updated default values #1800

Open
4 tasks done
realpixelcode opened this issue Sep 14, 2024 · 0 comments
Open
4 tasks done

Add ๐ŸŽ›๏ธ for added/updated default values #1800

realpixelcode opened this issue Sep 14, 2024 · 0 comments
Labels
emoji Gitmoji proposals.

Comments

@realpixelcode
Copy link

Emoji symbol

๐ŸŽ›๏ธ

Emoji code

๐ŸŽ›๏ธ

Emoji description

Add/update default values

Describe the use case of your emoji

Many, if not most, programs have default values that are used when the end-user or the caller don't not specify their preferences. These can be static class constants or the initial values of instance variables:

class Starliner {
    public static final String NAME = "CST-100 Starliner";
    public static final int ISS_ORBIT = 400;
    private int targetOrbit = 800;
    
    public void setOrbit(int orbit) {
        this.targetOrbit = orbit;
    }
}

The following existing Gitmojis are inappropriate for indicating changes to default values:

  • ๐Ÿ”ง and ๐ŸŒฑ because they refer specifically to configuration/seed files instead of in-code values
  • ๐Ÿ”จ because it's about development scripts instead of source code values
  • ๐ŸŽจ because it refers to code structure instead of variables'/constants' values
  • ๐Ÿ’ฌ because it does not cover any types other than string
  • ๐Ÿ—๏ธ because modifying default values doesn't change the architecture itself
  • โ™ป๏ธ because adding or updating values is much more specific than โ€œrefactoring codeโ€ in general, and the term โ€œrefactoringโ€ is usually used when referring to implementation changes (i.e. modified logic)
  • ๐Ÿท๏ธ because it's about constants'/variables' values, not their types
  • ๐Ÿ‘” because changing default values doesn't modify any logic

Is this use case covered by an existing emoji?

No โŒ

Does this emoji fall into the "how" or the "what" category?

  • This proposal do not describe "how" a commit was made, but does in fact describe "what" is the contents of the commit about.

Examples

  • ๐ŸŽ›๏ธ Updated the HTTP client's default time-out
  • ๐ŸŽ›๏ธ Added default AES-GCM tag length
  • ๐ŸŽ›๏ธ Specified new DoH server URL
  • ๐ŸŽ›๏ธ Lowered Argon2 default parameters
  • ๐ŸŽ›๏ธ Set default Do-Not-Track setting to false

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emoji Gitmoji proposals.
Projects
None yet
Development

No branches or pull requests

1 participant