• @[email protected]
    link
    fedilink
    English
    481 year ago

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

    • @[email protected]
      link
      fedilink
      English
      231 year ago

      IF THIS IS INTENTIONAL PUT AN UNDERSCORE BEFORE THE VARIABLE NAME YOU ABSOLUTE FUCKING MORON

    • @clearleaf
      link
      101 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”

      • @[email protected]
        link
        fedilink
        English
        21 year ago

        honestly my dumb ass will choose for i in list: over for i := range slice { every single time. I’m ugly and I’m proud!