@trusted attribute should be replaced with @trusted blocks

IGotD- nise at nise.com
Fri Jan 17 17:28:09 UTC 2020


On Friday, 17 January 2020 at 16:33:14 UTC, jmh530 wrote:
> On Friday, 17 January 2020 at 09:21:30 UTC, Dominikus Dittes 
> Scherkl wrote:
>> [snip]
>>
>> Yes, pretty much the same as in Rust.
>
> Somewhat OT, but HN is blowing up with an article [1] about the 
> Rust community complaining unsafe being overused, resulting in 
> the maintainer of the HTTP framework quitting.
>
> [1] https://words.steveklabnik.com/a-sad-day-for-rust

I think this is pretty funny and also predictable. There is an 
overuse of unsafe in Rust because the programmers want/must 
escape their Gulag in order to do the things they want, it's 
human behaviour. I have for long predicted that Rust is not the 
way forward for programming languages even if the language have 
some good things and now they are trying to escape from it. BTW, 
here is another proof of that, the blog "Learning Rust the 
dangerous way", http://cliffle.com/p/dangerust/. Which was 
appreciated by many users and beginners.

This is one of the reasons I'm a bit skeptical against DIP 1028, 
https://forum.dlang.org/thread/ejaxvwklkyfnksjkldux@forum.dlang.org. That people will not value it that much. I have nothing against a safe subset, but I'm not sure making it default is the right way to go.

A bit OT, but there will be another round of that DIP at least.



More information about the Digitalmars-d mailing list