ImportC and nothrow/@nogc?

Walter Bright newshound2 at digitalmars.com
Tue Aug 27 22:00:43 UTC 2024


On 8/26/2024 11:14 PM, Manu wrote:
> Why is the design we have better than the established designs?

The idea is not to simply mark code as unsafe, but to encapsulate it within a 
safe interface. It's a different approach.

Yes, it is (initially) more work, but will pay off with more readability and 
maintainability. It is worth it.

A number of D features have a bias towards encapsulation rather than 
interleaving things.

The established designs are inferior, which is why we have D.


More information about the Digitalmars-d mailing list