Am 03.05.2018 um 15:35 schrieb Thierry Fournier:
> Ok, I understand ... I hesitate. I think that is better to keep
> the original type, but the consistency is a good reason to convert
> to string.
> I doubt that integer operations (add, sub, ...) will be performed on
> this id. So maybe, we can keep string for the consistency.

I believe that opaque identifiers should be strings always. Not
integers, just because they happen to consist of digits only.

Using strings would also allow you to change the internal data type
later on, without breaking Lua.

So: +1 for string from me.

Best regards
Tim Düsterhus

Reply via email to