Andrej Mitrovic:

It also steals a valid symbol name.

Someone has suggested to prefix it with a @.


E.g. there's tons of C code that
uses the symbol name "body", but I can't use this symbol because it's used in DBC. It's a keyword that's used in literally just one feature, and it's annoying.

In the case discussed here I think the @unique will find another usage.


Plus DBC code just looks ugly to me (at least with
asserts in the actual body I can add diagnostic messages), so I don't see how "body" has made DBC better.

"body" seems not needed in DBC, I suggested to remove it.
But the little failure with body is not the same situation as the one discussed here.

Bye,
bearophile

Reply via email to