From 5548190bac15a87c00ba59b01e764548275366fc Mon Sep 17 00:00:00 2001
From: Hui Lan <lanhui@zjnu.edu.cn>
Date: Tue, 7 May 2019 09:00:58 +0800
Subject: Add an example of insufficient comments from Jin Xiongrong and Xu
 Yuze code.

---
 spm-slides.tex | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'spm-slides.tex')

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.
 
-- 
cgit v1.2.1

