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

🛸 for extracting code to a separate function or new file #1754

Open
4 tasks done
simonaltrogge opened this issue Jun 19, 2024 · 0 comments
Open
4 tasks done

🛸 for extracting code to a separate function or new file #1754

simonaltrogge opened this issue Jun 19, 2024 · 0 comments
Labels
emoji Gitmoji proposals.

Comments

@simonaltrogge
Copy link

simonaltrogge commented Jun 19, 2024

Emoji symbol

🛸

Emoji code

:flying_saucer:

Emoji description

Extract code into a separate function or new file.

Describe the use case of your emoji

When restructuring a project, I sometimes break apart a file and extract, for example, a class into its separate file. Alternatively, this could be also used when extracting some logic into its own function to be used in multiple places instead of repeating code.

I see, however, that this is most likely a more specific case of the "Refactor code." (♻️) case.

Is this use case covered by an existing emoji?

Yes ✅

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

🛸 Extract authentication into reusable function
🛸 Move some large class into a separate file

Validations

@simonaltrogge simonaltrogge added the emoji Gitmoji proposals. label Jun 19, 2024
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