Better branding of -betterC
d.majumdar at gmail.com
Thu Nov 12 21:22:37 UTC 2020
On Thursday, 12 November 2020 at 18:33:39 UTC, Paul Backus wrote:
> On Thursday, 12 November 2020 at 18:07:08 UTC, Dibyendu
>> Also the compiler cannot assist you in making this choice.
> I'm not aware of any compiler, for any language, than can
> provide this kind of assistance. Until we invent AIs that can
> write code for us, we programmers are going to be stuck making
> our own choices. :)
Sorry I didn't make myself clear.
In Rust for example unions are unsafe whereas enumerated types
aren't (caveat: this is based on my imperfect knowledge). So
having it in the language allows the compiler to better infer
safety of the code, and thus help the programmer make better
More information about the Digitalmars-d