Is @trusted the wrong direction?

Dominikus Dittes Scherkl dominikus at scherkl.de
Sat Nov 9 16:22:05 UTC 2019


I always thought trusted functions shouldn't be a thing. Almost 
never a whole function need to be trusted, but only a few lines 
of code. What we need instead are trusted blocks. Those can be 
simulated with anonymous nested functions, but the syntax is ugly 
as hell while complete trusted functions should be forbidden.


More information about the Digitalmars-d mailing list