D Core Guidelines?

Walter Bright newshound2 at digitalmars.com
Sun Sep 3 05:52:12 UTC 2023


On 9/2/2023 9:45 AM, bachmeier wrote:
> Folks adopting that mindset with D will give silly responses to questions. One 
> example that comes to mind from years ago was a piece of advice about string 
> concatentation. The person giving the advice implicitly assumed the user wanted 
> to prevent allocation above all else. That just isn't a consideration for much 
> (most?) of the D code that's written using strings.
> 

String concatenation tends to be highly useful in CTFE code, and runtime 
performance considerations don't exist.


More information about the Digitalmars-d mailing list