On Sunday, 8 March 2015 at 03:09:00 UTC, zhmt wrote:
Yes, this a good idea, if the author of vibe.d do this, will be better, it is used frequently in many scenes.
You can do it too, unlike in C++, in D you can write extension methods to any type, as long as they are visible, you can call them on the first argument, it's called UFCS: http://dlang.org/function.html#pseudo-member