Newbie style question about string constants

Ian ian at iangarcia.net
Mon Feb 24 16:07:07 UTC 2025


Hello,

What's the recommended D way to declare a string constant? Say, 
for example, for a path used inside a class constructor? I've 
seen const string, immutable, enum etc...

Is this the place for these kinds of questions? Is there a D 
stack overflow?

Cheers,
  Ian


More information about the Digitalmars-d-learn mailing list