version: multiple conditions

via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 14 10:25:06 PDT 2015


On Sunday, 14 June 2015 at 16:53:19 UTC, bitwise wrote:
> It's not just about the code increase though. What if I need 
> AndroidOrWP8, and I also need Win32OrWin64? This can quickly 
> become a much larger pita.

Yes, I think this is related to person-specific experiences. Some 
people insist on keeping all OS-specific code in separate files, 
others don't… A person with this mindset would version(Windows) 
to get to a Windows file and then version on Win32 etc in that 
file… Not saying it is better, but I think that is why people 
think differently about this issue.

> True. Maybe I'm underestimating the amount of effort that is 
> going into this. I admit I don't know much about whats going on 
> with the DDMD stuff.

Me neither. I just know that I have lost interest in the C++ 
version of DMD now that there is a move towards D. And I look 
forward to see an idiomatic D version.

I guess only people who know the codebase very well can do that 
refactoring so let's not tempt them into fixing minor language 
issues, that's my thinking.

Refactoring is kinda tedious… so I'm sure it would be easy to 
distract anyone into adding more features instead. ;-)



More information about the Digitalmars-d mailing list