Hacker News new | past | comments | ask | show | jobs | submit login

It is more concise. Similarly, I was a fan of using attributes instead of text elements (with their unnecessary close tags), but eventually was won over by neatness. e.g. translating an eg from https://www.gnu.org/software/guile/manual/html_node/SXML.htm...

  (parrot (@ (type "African Grey")) (name "Alfie")) 

  <parrot>
    <type>African Grey</type>
    <name>Alfie</name>
  </parrot> 
It's more the one-variable-per-line pretty-printing than the syntax as such, but still.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: