On Wednesday, 4 June 2014 at 18:01:04 UTC, dennis luehring wrote:
Am 04.06.2014 19:57, schrieb Meta:
On Wednesday, 4 June 2014 at 17:55:15 UTC, bearophile wrote:
How many good usages of D Variant do you know?
Bye,
bearophile
It depends on what you mean by a good usage. I rarely ever use
Variant, but you *can* use it if you need weak and/or dynamic
typing.
but D+Variant is still far away from an untyped language -
because
everything needs to be based on Variant - every signature... so
it isn't an ~"correct"~ solution in this context
You're right, but you can get fairly close. You will never be
able to completely forget about types in D.