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