The Right Approach to Exceptions

Nick Sabalausky a at a.a
Mon Feb 20 08:21:16 PST 2012

"dennis luehring" <dl.soluz at> wrote in message 
news:jhtrh1$113l$1 at
>> Again, I think this thread clarified we need the "Variant[string] info;"
>> member however we define the hierarchy.
> to use an mighty hyper map capable of holding all informative "values" 
> will just follow in the same amount of non-using code, and the using code 
> will be filled up with info["blub"], info["blab"], evil castings, sensless 
> const key-string an still no proper way to show/use the information in an 
> generic and typesafe way
> sorry but feels like throwing anway the signature conecpt and replace it 
> with an runtime thing ... maybe we should also get rid of function 
> signatures with "Variant[string] parameter" :}

Exactly. It smacks of abandoning normal code in favor of JS and other such 
ultra-dynamic toy/scripting langauges where *everything* is a mutable AA 
just for the fuck of it.

More information about the Digitalmars-d mailing list