Sane API design (AKA C's #ifdef hell)

matheus matheus at gmail.com
Thu Apr 16 21:13:30 UTC 2026


On Thursday, 16 April 2026 at 18:52:23 UTC, H. S. Teoh wrote:
> ...

Interesting, another solution would be Separate Files + Build 
System, but in this case we are moving the problem from source to 
building/compiling time.

I recently asked a question about a similar problem to this one 
in Learn Forum, didn't get much traction.

I think it's hard to define elegant way to do this.

Matheus.




More information about the Digitalmars-d mailing list