DIP65: Fixing Exception Handling Syntax
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 17 18:15:17 PDT 2014
On 7/17/14, 5:57 PM, Brian Schott wrote:
> On Friday, 18 July 2014 at 00:50:33 UTC, Andrei Alexandrescu wrote:
>> Whatever comes of DIP65, it shouldn't influence our determination to
>> define such a tool. -- Andrei
>
> I started with proposing this syntax change because it is the easiest
> thing I can think of to fix automatically. Dfix should start small and
> it doesn't get smaller than this.
I agree. I also internally decided I have a personal mild preference in
favor of DIP65, i.e. I'm agreeing with you and disagreeing with Walter.
But I'll let it go because:
1. There is clear understanding of the DIP65 on Walter (and my) part.
2. Reasonable people may disagree on the best course of action.
3. Somebody must make a judgment call.
4. It's neither a huge win nor a disaster any way the call goes.
5. In Walter's words - if he and I agreed on everything, we wouldn't be
doing our jobs. Same about other community members etc.
6. Part of moving forward is breaking clean with the past.
I think there's better fruit to pluck here. Regarding dfix, I have a
suggestion for a simple start - how about rewriting
alias B A;
as
alias A = B;
I've been reading a bunch of Thrift code using the old syntax and the
new one is quite easier on the eyes when B is complex.
Andrei
More information about the Digitalmars-d
mailing list