September 23 Re: goto skipping declarations | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Monday, 22 September 2025 at 17:31:49 UTC, Walter Bright wrote:
> On 9/18/2025 7:03 PM, Steven Schveighoffer wrote:
>> So the skipping of initialization is technically caught, it's just that D default initializes and C does not.
>
> In C, the function still returns an uninitialized value.
>
As I mentioned in a reply, so does D.
-Steve
|
Copyright © 1999-2021 by the D Language Foundation