Tasks, actors and garbage collection
russhy
russhy at gmail.com
Tue Apr 20 17:18:11 UTC 2021
On Tuesday, 20 April 2021 at 17:09:48 UTC, Stefan Koch wrote:
> On Tuesday, 20 April 2021 at 16:44:01 UTC, russhy wrote:
>> And no, no @ could save us
>>
>> ```D
>> @safe @system @pure @nogc @noreturn @help @nothrow void
>> doSomethingForMePlease()
>> {
>> writeln("is this where we want to go?");
>> }
>>
>> ```
>
> Invalid @safe and @system contradict each other.
> Also noreturn is not an annotation it's a type.
> pure and nothrow are not annotations either they are keywords,
> though they arguably should be an annotations.
That's the point of the joke, all looks the same, they adds, and
things becomes confusing/visual noise
More information about the Digitalmars-d
mailing list