title: What is the best way to represent constant in YAML?
body: <p>I writing a framework where we represent code in YAML and on the fly it will get converted to Java code.</p>
  
  <p>What is the best way to represent java function in YAML? </p>
  
  <pre><code>Configuration:
    - name1: "a"
    - name2: computeName()
  </code></pre>
  
  <p>While parsing YAML, I should be able to parse <code>"a"</code> as string and <code>computeName()</code> as function.</p>
  
  <p>I am looking for best practice so that it will be intuitive and easy for user write YAML.</p>