What features of D you would not miss?

bauss jacobbauss at gmail.com
Tue Sep 20 07:17:12 UTC 2022


On Tuesday, 20 September 2022 at 07:13:45 UTC, Ogi wrote:
> On Saturday, 17 September 2022 at 20:08:26 UTC, Dennis wrote:
>> On Saturday, 17 September 2022 at 07:37:24 UTC, Ogi wrote:
>>> Non-ASCII characters in identifiers. There is no good reason 
>>> to use this “feature”, unless your goal is bug-ridden and 
>>> unmaintainable code.
>>
>> I don't use non-ASCII identifiers, but you'll have to explain 
>> how e.g. using `π` instead of `pi` results in bugs or 
>> maintenance burden.
>
> ```D
> int μ = 42;
> void main() {
>     int µ = 69;
>     assert(μ == 69);
> }
> ```

How is that different from this?

```D
int a = 42;
void main() {
     int a = 69;
     assert(a == 69);
}
```



More information about the Digitalmars-d mailing list