• bitcrafter@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    What happens if you use an out of range array subscript a[n]? Does that always return an option type?

    I think that you would be surprised by the amount you would learn if you spent five minutes actually trying to answer your own questions, instead of treating them as proof that you just made a relevant point merely by asking them.