On Thursday, 6 March 2014 at 23:56:35 UTC, Iain Buclaw wrote:
Indeed, I don't recall a single port-related pull in the last
several
months that tried to do any refactoring. I think the general
consensus among the current mantainers is that explicit
versioning is
good, vague/fallback else is bad. However on the flip side,
the more ports you add into one single file, the more you
descend back into the madness you were initially trying to
avoid.
I hope code duplication in many files rather than one file is
in the interest of everyone. :)
Yep. I think I mentioned in the github thread that while
versioning implementations within a single module worked for me,
it was because I was only targeting 3 platforms. With the number
of targets GDC and LLDC have, I think breaking things up as you
suggest is a preferable option.