-
-
Notifications
You must be signed in to change notification settings - Fork 805
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
Use π΅οΈ for added/updated annotations #1802
Comments
I use gitmoji for So perhaps we could split this up into e.g. additions, changes, deletions or annotations, and perhaps also one for a refactoring/cleanup of code related to static typing? Given the original meaning of "annotation", and considering the static and formal nature of type annotations, we could for instance use π for additions, βοΈ for updates, βοΈ for deletions, and perhaps π for refactoring/cleanup. |
There are already plenty of Gitmojis that don't differentiate between adding, updating and removing:
Considering the fact that there are many test-only repos, UI-only repos, licence-only repos, documentation-only repos, assets-only repos etc. out there, I believe that adding π΅οΈ as βAdding or updating annotations and decoratorsβ would still fit the overall Gitmoji theme, even though π΅οΈ wouldn't be too useful to In other words, if your entire code is just annotations, then you should probably use β¨β»οΈπ₯β°οΈ, because it would be obvious that you're referring to annotations. (Similarly, test-only repos shouldn't bother using β π§ͺ either.)
I think there three options:
In my own repos, I already do sometimes combine two or three Gitmojis to make a more precise statement, so I would be fine with the third option. But it would be a major change to the core concept of Gitmoji and would very likely face harsh resistance from other Gitmoji users and would facilitate incompatibility bugs for Gitmoji scripts. Therefore, I would prefer option two and propose using πβοΈπ₯β»οΈ instead of πβοΈβοΈπ.
Could you perhaps elaborate on this? I proposed π΅οΈ specifically with Java annotations in mind, as I'm not too familiar with annotations/decorators in other languages, especially not in Python. Basically, in Java, |
Wow, thanks for the elaborate response @realpixelcode π€―!
I really like this idea. It kinda makes me wonder what the optimal set of "atomic" gitmoji's would be, with which all of the current ones could be expressed using a combination of such atomic gitmoji's π€. I suppose that they'd be more like tags then labels that way.
Java is statically typed language, but Python is a gradually typed language, meaning that type annotations are optional, and they don't even need to be valid for the "program" (script) to run. Type-checking is done via 3rd party static type-checkers. |
some previous discussion about multiple emojis: #1334 (comment) |
Emoji symbol
π΅οΈ
Emoji code
π΅οΈ
Emoji description
Added/Updated annotations, decorators etc.
Describe the use case of your emoji
Sometimes, all you do in a commit is updating annotations/decorators of methods or fields, especially something like
@NonNull
,@Nullable
,@Contract
,@Getter
,@Setter
etc. Using the π΅οΈ emoji, which represents artistic rosette ornaments present on tiles, statues, building facades and the like for decorative purposes, would fit this job quite well.The currently best-fitting Gitmoji would probably be β»οΈ, but βrefactoringβ does not accurately describe modifying annotations specifically.
Is this use case covered by an existing emoji?
No β
Does this emoji fall into the "how" or the "what" category?
Examples
@NonNull
@Contract
s@Getter
sValidations
The text was updated successfully, but these errors were encountered: