From 97618194565169068937be3a09ec4268bd3c2072 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Fri, 10 Mar 2023 06:22:56 +1100 Subject: [PATCH] vault backup: 2023-03-10 06:22:56 --- content/notes/signs-of-bad-code.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 content/notes/signs-of-bad-code.md diff --git a/content/notes/signs-of-bad-code.md b/content/notes/signs-of-bad-code.md new file mode 100644 index 000000000..5760d94d0 --- /dev/null +++ b/content/notes/signs-of-bad-code.md @@ -0,0 +1,8 @@ +--- +title: "signs-of-bad-code" +tags: +- cheatsheet +--- + +c++ +- non-public inheritance is a sign of poor design, as most instances where it would be used are better implemented using object composition \ No newline at end of file