• squaresinger@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    4 days ago

    Not really. There are quite a few of structures you can make with gotos that can’t directly be translated into functions. Sure, you can implement any functionality in any programming paradigm, but it might require much more work than to just replace goto with a function call.