On Monday, 17 March 2025 at 08:27:17 UTC, Jonathan M Davis wrote:

In any case, the normal way in D to declare a string constant is to use enum. So, that's primarily what you're going to see in most code. Whether you choose to do that in your own code is up to you.

- Jonathan M Davis

Hi Jonathan,

That all makes sense. enum it is, with the caveat for allocations. Just asking.

Thanks,
 Ian

Reply via email to