• TheHalc
      link
      fedilink
      171 year ago

      Just make sure to add comments like

      //Magic, do not touch
      

      To make sure no-one accidentally breaks the spell.

      • 𝘋𝘪𝘳𝘬
        link
        fedilink
        111 year ago
        // Do not delete! Yes, it's not used anywhere in the code, but if it is removed
        // the application crashes and the error code is useless for debugging.
        let f = 'a';
        
        • kamenLady.
          link
          fedilink
          61 year ago

          if ( “a” == “a” ) { // i swear i saw this somewhere }

          • 𝘋𝘪𝘳𝘬
            link
            fedilink
            71 year ago

            I once did const theNumber = 4 in a function (and then took a second, actually random, number and compared it to theNumber).

            In the comment to the function I actually referenced https://xkcd.com/221/.

      • @echo@lemmy.ml
        link
        fedilink
        51 year ago

        If you even know which line of random bullshit you changed that made it work, that is