Duzzuti/passwd-manager

[NTH] Ensure code quality

Aberta

#18 aberto em 1 de jun. de 2023

 (1 comentário) (0 reação) (0 responsável)C++ (4 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (9 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador