Re:Idioms for the D Programming Language
by crazypython on Thursday February 11, 2021 @08:15PM
(#26109744)
You can even use opDispatch to generate methods or values of a class at compile time based on the name, Python __getitem__/JavaScript Proxy/Ruby style.
Each of those paradigms has its place, and I enjoy being able to mix and match them as appropriate in the same program.