• Karjalan@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    I recall saying something like “the function ‘draw_card’ doesn’t mutate the deck variable” and it goes “I’m sorry, you’re correct. I’ll fix it to mutate the deck variable” and it returns the same code but changes the the card variable inside function to be called “mutate_the_deck”.

    I felt much safer after that interaction.