Good examples of version() algebra in real code

Walter Bright newshound2 at digitalmars.com
Mon May 22 18:03:15 UTC 2023


On 5/22/2023 1:40 AM, Max Samukha wrote:
> I sense echoes of the infamous "Clean Code" debate. Why can't we just let the 
> programmer decide whether to put the versions inline or to hide them behind an 
> abstraction?

Blind adherence to any nostrum leads to hell.

However, I'm pleased that the dlang code has not devolved into version hell, 
which every long term C and C++ project I'm familiar with descended into.


More information about the Digitalmars-d mailing list