Laser-D announcement

Kapendev alexandroskapretsos at gmail.com
Sat Aug 1 06:49:51 UTC 2026


On Wednesday, 29 July 2026 at 19:56:31 UTC, Dibyendu Majumdar 
wrote:
> On Wednesday, 29 July 2026 at 17:57:14 UTC, antonio wrote:
>> Glad to see UFCS survived.  Though with optional parentheses 
>> rejected, the chaining style loses some of its appeal. Was 
>> that trade-off deliberate?
>>
>
> My thinking was that the parenthesis make it clear that its a 
> function call and not field access.

Yes, but then we also have `object.thing`. The `object` could be 
a pointer or a simple value. My senior told me that being 
explicit is ALWAYS good, escpecially with the billion dollar 
mistake that are pointers, so I propose we change the pointer 
case to: `object->thing`.

Much explicit. Very readable. A true C language successor.


More information about the Digitalmars-d-announce mailing list