From the D Blog: Crafting Self-Evident Code in D

Walter Bright newshound2 at digitalmars.com
Thu Oct 26 03:28:00 UTC 2023


On 10/7/2023 5:37 AM, sighoya wrote:
> Thanks, I think we need more of this as D has become a large language already.
> There were some points I even never considered before.

I'm glad it's a win for you!

> I disagree however in all binary types should be just boolean.
> I prefer machineState=State.On or State.Off than isMachineOn=true or false.

Give it time. You'll come around! I've gone done many paths over the years on 
this stuff, to arrive at what I presented. I may evolve further in the future.



More information about the Digitalmars-d-announce mailing list