D not considered memory safe
aberba
karabutaworld at gmail.com
Tue Jul 9 21:13:19 UTC 2024
On Tuesday, 9 July 2024 at 16:18:27 UTC, monkyyy wrote:
> On Tuesday, 9 July 2024 at 15:58:17 UTC, Nick Treleaven wrote:
>> On Monday, 8 July 2024 at 14:46:47 UTC, monkyyy wrote:
>>> A dull knife is the dangerous one, safety features just get
>>> in the way and you'll get people learning actively awful
>>> patterns in an attempt to force the tool to work
>>
>> Any pattern to subvert safe involves the `@trusted` attribute
>> (except for compiler bugs, which editions help to fix).
>
>> Any
.
> like how I made an "appendable alias seq", well theres only
> like 3 poeple who understood those mere 80 lines of code
I feel the same about the abuse of templates in a lot of D code.
Suddenly no one wants to touch, maintain or contribute.
Now the cognitive load will be more with @safe on top.
More information about the Digitalmars-d
mailing list