title: Jun 07 2019 - 06:38:25 PM
date: 2019-06-07 18:38:25
slug: 07-183825
status: published
display_format: entry
link: https://jj.isgeek.net/2019/06/07-183825/
titleless: True
categories: code
categories: python
syndication: https://twitter.com/jjdelc/status/1137066298167517186


I find myself initializing my functions by declaring a `results` variable where I accumulate the final return value. Then I close by `return results`.
But reading the code, `results` is so vague it doesn't tell me what kind of data structure I'm returning and makes it difficult to debug. #code #python