3 ms·
Strangely my favourite feature after 18 years of D programming (!) is that could place keywords largely in the order you like. It is strangely liberating to be
by p0nce 1y ago
Strangely my favourite feature after 18 years of D programming (!) is that could place keywords largely in the order you like. It is strangely liberating to be able to put:
pure nothrow @nogc:
or
pure:
nothrow:
@nogc:
or
pure nothrow @nogc
{
block
}
Sometimes this helps readability.
- quietbritishjim 1y agoAm I missing something? Those three keywords are literally in the same order in all the examples.
- p0nce 1y agoSorry, those keywords work in block like those, or relatively to a single function, in any order.