bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ preferences


From: Hans Åberg
Subject: Re: C++ preferences
Date: Thu, 13 Sep 2018 11:12:15 +0200

> On 13 Sep 2018, at 07:00, Akim Demaille <address@hidden> wrote:
> 
> I recently had to work on some piece of software with coroutines,
> and known what variables are immutable was really reassuring.

A C++ Simula library implemented coroutines using threads. So coroutines maybe 
are not a must.

>> But if there was a more concise syntax, I'd like it. I had
>> fantasized about a new keyword ("let") or a new syntax (":="),
> 
> Yep, I was impressed by Swift, there are many beautiful things
> in this language.  I really like their `let`.

To drawbacks seems to be that it is a closed box—get into it, and you cannot 
get out, and that is it very verbose.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]