Duzzuti/passwd-manager

[NTH] Ensure code quality

Ouverte

#18 ouverte le 1 juin 2023

 (1 commentaire) (0 réaction) (0 personne assignée)C++ (4 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (9 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

We should ensure that functions should have two properties:

  1. The name is relevant for what they do
  2. The function does one single thing.

Specially if we notice that property number 2 isn't fulfilled we should split the function into as many different things is doing. Following this idea makes the code much easier to read and debug.

  • Difficulty (1-10): 2

Guide contributeur