From 50ffd0debc3cc60fa0286fb6f437f4b0daa291e3 Mon Sep 17 00:00:00 2001 From: Max Chis <48846180+maxachis@users.noreply.github.com> Date: Thu, 24 Jul 2025 16:05:16 -0400 Subject: [PATCH] Update DESIGN-PRINCIPLES.md Add additional recommendation for type hinting. --- DESIGN-PRINCIPLES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DESIGN-PRINCIPLES.md b/DESIGN-PRINCIPLES.md index 9fe02b8..e7fcca1 100644 --- a/DESIGN-PRINCIPLES.md +++ b/DESIGN-PRINCIPLES.md @@ -135,6 +135,7 @@ Note that these design principles are not followed consistently throughout any r ## Type Hinting - Type hints are necessary for all but the most trivial of functions (and often recommended even then). +- If a function *does not* return anything, `-> None` should be provided as a type hint. The absence of a type hint makes it ambiguous whether it returns nothing or someone simply forgot to type hint. ## Inheritance