Is it time for D 3.0?
krzaq
dlangmailinglist at krzaq.cc
Sat Mar 28 20:08:18 UTC 2020
On Saturday, 28 March 2020 at 17:28:59 UTC, IGotD- wrote:
> On Saturday, 28 March 2020 at 17:09:34 UTC, Denis Feklushkin
> wrote:
>>
>> int -> int32
>> ulong -> uint64
>> float -> float32
>> double -> float64
>> byte -> octet
>>
>
> In this case wouldn't it be better to rename them to shorter
> u8, i8 .. u64, i64 and f32 .. f64. This is actually not a
> breaking change and we can implement it today if we want to
> with the old type names still there. Also, you can make
> whatever alias you want.
I would love that. This is one of the things that Rust got 100%
right.
I know you can make whatever alias you want, but the point is
that it's not universally used. Standarization is important,
that's why I'd use the fugly C names in C/C++ even though I could
alias them away.
More information about the Digitalmars-d
mailing list