Deprecate implicit conversion between signed and unsigned integers
Atila Neves
atila.neves at gmail.com
Mon Feb 17 09:06:10 UTC 2025
On Monday, 17 February 2025 at 08:30:44 UTC, Walter Bright wrote:
> On 2/7/2025 4:50 AM, Atila Neves wrote:
>> I hate ugly code too, but I'd rather have explicit casts.
>
> Pascal required explicit casts. It sounded like a good idea.
> After a while, I hated it. It was so nice switching to C and
> leaving that behind.
>
> (Did I mention that explicit casts also hide errors introduced
> by refactoring?)
`cast(typeof(foo)) bar`?
More information about the dip.ideas
mailing list