• balls_expert@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I wish implicit returns could be turned into an error in the configs of a project. It was impopular at the time and probably still is outside of Rust, it permeated through every control structure because of how the language is designed, but the worst part is how unnecessary it was

    It would’ve cost nothing not to do it

    It would’ve made no one upset

    Now Rust is the only language to do what it does - and it has this shit in it