Skip to content
Discussion options

You must be logged in to vote

And here I was thinking I was the only person in the world who did his thesis research in Hy.

My standard recommendation is that, when in doubt, go for strings. This makes interoperability with Python easier and has more obvious semantics.

In my own code, I tend to use symbols (quoted, if I'm not giving them to a macro that can do the quoting for me). I find this generally more readable than strings or keywords. The fact that models are not equal to unboxed Python values is, in fact, a feature (#2083).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lugr-odoo
Comment options

Answer selected by lugr-odoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants