summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spm-slides.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/spm-slides.tex b/spm-slides.tex
index b86316d..9e64b63 100644
--- a/spm-slides.tex
+++ b/spm-slides.tex
@@ -833,6 +833,16 @@ catch: memory leaks, off-by-one errors, insufficient comments,
insufficient API documentation, security vulnerabilities, compliments
...
+Example of insufficient comments:
+
+{\small
+\begin{verbatim}
+ for item in A.iter(sentence):
+ return True
+ return False
+\end{verbatim}
+}
+
{\bf Important} to have more eyeballs.