working with attributes

Walter Bright newshound2 at digitalmars.com
Fri Jan 12 20:52:56 UTC 2024


On 1/12/2024 6:54 AM, Timon Gehr wrote:
> Do you 
> think virtual methods and runtime delegates were a mistake in general?

I don't like opApply() because it does a hidden rewrite of the statements in the 
function that makes the semantic analysis fragile, ugly and clumsy.

I'm a bit amazed it works at all :-/

Virtual methods and runtime delegates don't have this problem.


More information about the Digitalmars-d mailing list