Raymond Chen's take on so-called zero cost exceptions

meta meta at gmail.com
Tue Mar 1 07:08:24 UTC 2022


On Tuesday, 1 March 2022 at 06:57:26 UTC, forkit wrote:
> On Monday, 28 February 2022 at 20:33:17 UTC, Walter Bright 
> wrote:
>>
>> This is what I've been saying.
>
> Yeah, well, you can switch gears more quickly by having paddles 
> shifters on the steering wheel.
>
> But so many of us have no problem with the location of the gear 
> selector that we're all familiar with.
>
> I feel like my mechanic is telling me I should move to paddle 
> shifters, cause then I can change more quickly.
>
> But what's it gonna cost me? And can I both, in case I don't 
> like (or can't get used to) the paddle shifters.
>
> So the point being made in the article, is kinda... pointless.. 
> really.
>
> i.e. It's the other questions that immediately arise that need 
> to be answered (or even asked would be a nice start).

D is in a position where it can, and should, do what ever it 
wants to do, that gives us an advantage over the competition, Nim 
for example didn't wait what ever someone says on a forum to 
implement RC, Zig didn't wait for anybody to do the way they do 
error handling, and soon compile time error for unused things 
despite many people against it [0]

Nobody should wait for you to become comfortable to improve things

People attach to a language for its vision, not because it sticks 
to whatever he though was good 20 years ago

Someone mentioned Swift, they didn't wait for anybody to 
implement the Actor model at language level, same for adding 
language features to make SwiftUI play nice

We try, we make mistakes, we learn, we change, we teach, we evolve



[0] https://github.com/ziglang/zig/issues/335



More information about the Digitalmars-d mailing list