• ScreaminOctopus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    One specific example I encountered was ndarray. I couldn’t figure out how to make a function take an array and an arrayslice without rewriting the function for both types. This could be because I’m novice with the language, but it didn’t seem obvious. I ended up giving up after trying to dig through the docs for a few hours and went back to C++.