Generic memory allocation in D
Daniel N
no at public.email
Sat Mar 9 08:19:29 UTC 2024
On Saturday, 9 March 2024 at 00:09:38 UTC, Walter Bright wrote:
> It's not about performance, it's about competing notions of
> clarity.
Sounds like you want the guard statement...
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements/#Guard-Statement
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/thebasics/#Force-Unwrapping
More information about the Digitalmars-d
mailing list