• nautilus@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    mfw my face when the go compiler fucking screams at me because I dared to declare a variable and not use it

    • clearleaf@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      “Don’t worry too much about your loops bro, I am the apex of computer science research, I know every optimization in the book.” Ok want to compile this? “Is that… An unused variable?!? WHAT THE FUCK ARE WE GOING TO DO GOD IS DEAD”

  • Perroboc@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    int unused_variable = 0;

    Dude wtf is your problem don’t just leave things lying about there don’t you know how to code I mean what the- I don’t go to your house and leave shit on the floor and just—

    int _unused_variable = 0;

    Ok. We cool.