       (goto-char end) (insert "\n}")
       (insert-char ?\s c-basic-offset)
       (insert "// end ")
-      (if (= 0 (length str))
+      (if (zerop (length str))
           (insert "anonymous "))
       (insert "namespace " str "\n")
       (goto-char start)
       (insert "namespace ")
-      (if (not (= 0 (length str)))
+      (if (not (zerop (length str)))
           (insert str " "))
       (insert "{\n\n"))))
 

;;

;;; Code:

(defun print-current-function() "Print current function under point."
  (interactive)

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Tuesday, April 12, 2016
;; Version: 1.0
;; Modified Time-stamp: <2016-05-27 17:24:06 dharms>
;; Modified by: Dan Harms
;; Keywords: coding

