Lutger: >I would love to never see a visitor pattern again, it really sucks compared to >multimethods.<
You are probably more qualified than me to answer the original question by BCS :-) Multimethods are easy to use and understand (if you don't mix them with too many other things). >I think we can first try to make a multimethods library,< Seems a good idea. >and we need only one addition to __traits ( to get the overloads of free / >static functions) for *open* multimethods.< So far I think DMD has progressed in mostly a linear way, but a temporary experimental dmd branch with this change can be useful to test, try and benchmark this feature. When possible I prefer true experiments. Thank you for your answer, bearophile