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

Boolean-Namen sollten keine Verneinung enthalten #425

Open
vjohnslhm opened this issue Sep 23, 2024 · 0 comments
Open

Boolean-Namen sollten keine Verneinung enthalten #425

vjohnslhm opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vjohnslhm
Copy link
Contributor

vjohnslhm commented Sep 23, 2024

Beschreibung

Booleans im Code sollten keine Verneinung im Namen haben. Eine klare und positive Formulierung der Booleans erleichtert die Lesbarkeit des Codes und vermeidet potenzielle Fehler, die durch Verwirrung bei der Interpretation von verneinten Booleans entstehen können.

Beispiel

Statt keineVorfaelle (siehe Vorfälle und Vorkommnisse Service) sollte beispielsweise hatVorfaelle geschrieben werden.

@vjohnslhm vjohnslhm added the enhancement New feature or request label Sep 23, 2024
@vjohnslhm vjohnslhm added this to the Phase 3 - Optimierung milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant