https://issues.dlang.org/show_bug.cgi?id=14389

Bolpat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #10 from Bolpat <[email protected]> ---
In my opinion, the `attribute:` syntax is only useful in small-ish aggregates
that can be overlooked with not much effort. If your scope is larger, large
enough that you ask for !pure or the like, don't use blocks.

@Ketmar Dark, !public would just mean: use the default visibility when nothing
else is specified. So, !public is public for everything except imports; in that
function, it would be really hilarious.

The only `attribute:` I'd consider useful at all is `@safe:` because usually,
one is going to write @safe code anyway if you think about including it on top
of your module. If some @system function is among others, it can be annotated,
as the @trusted wrapper to make it usable.

This whole thing was discussed at lengths in the past years and went nowhere.

--

Reply via email to