Skip to content

Conventions

octogradiste edited this page Apr 10, 2024 · 6 revisions

Git

Branches

Use lowercase letters, - to separate words, and the prefix feature/ when developing a new feature.

Examples

  • feature/simple
  • feature/more-than-one-word

Commits

Start with a capital letter and use present tense. The first line should be a very short description of the commit. Optionally, longer explanations can be added after a blank line.

Example

Very short description in present tense

Optionally a longer explanation.
This might use multiple lines.

Code

Interfaces and Implementations

Suffix the implementation with Impl if there is only one. Otherwise, use a prefix which defines the implementation.

Example

  • Interface Repository and implementation RepositoryImpl
  • Interface AuthenticationService and implementations FirebaseAuthenticationService, SupabaseAuthenticationService
Clone this wiki locally