Does D have a sufficiently expressive type system to make it feasible to work dynamically (that is, with multiple classes of values) within a statically typed framework?
I ask, after reading Dynamic languages are static languages. Sample code, if any, is highly appreciated.
If you only use
std.variant.Variantthen D is essentially a dynamically typed language. Here’s an example of its usage from the library reference page: