On 06/02/2025 20:37, o...@ocs.cz wrote:
Well but again, making List throw in future would break a vast codebase, which is a big no-no.

I was talking about an ideal world, as a starting point on how things imho should behave (and why), as the point towards which one should try to move as far as constraints such as backward compatibility allows.

Far as I know, there's no auto-extending unless you explicitly ask for that by withDefault.

I was replying to Eric asking "Is there any explicit statement about how indexing beyond the end of a collection should work? /Does it extend the collection/ or just return null."

Cheers,
mg


Reply via email to