News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by NekkoDroid on Thursday July 17, 2025 @10:24AM (#44593797)
The answer is: it is unbound. Intellisense will most likely tell you it is `Unbound | <type>` when you try to use the value from a for loop. Would it be possible that it could be default initialized to `None`? Sure, but `None` is a destinctivly different value than a still unbound variable and may result in different handling.

There are no comments on this comment yet.