title: Using a function as dictionary key
body: <p>Is it considered bad form to use a function as a dictionary key? For example:</p>
  
  <pre><code>def add(a, b):
      return a + b
  
  mydict = {add: "hello"}
  </code></pre>