Duzzuti/passwd-manager

[NTH] Ensure code quality

開放

#18 建立於 2023年6月1日

 (1 則留言) (0 個反應) (0 位負責人)C++ (4 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (9 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南