• sp3ctr4l@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      6
      ·
      edit-2
      23 days ago

      Yep.

      Not too long ago I was explaining to people how Garry is both an asshole and bad at coding… now we get to see the unprofessional struggle session.

      Like, if you are frustrated that calling methods from your own code base doesn’t work… maybe fix your code’s utility functions?

      Instead of doing one off hackjobs for everything?

      Any serious, experienced coder has tendencies toward this or even versions of their code with some of this kind of stuff in it.

      … but you fucking clean it up and rewrite the rage with actually helpful documentation, if you actually give a damn about other people who might use it.

      As the TF2 Sniper put it:

      Professionals have standards.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        20
        arrow-down
        1
        ·
        22 days ago

        I don’t see anything unprofessional there. Just naughty words. But, the naughty words are somewhere where they warn you that the code below doesn’t behave as expected, or complain because there isn’t a better way to do something. That seems like the best time to use strong language.

        Cleaning it up is a great idea in theory, but in practice almost everybody has higher priority things to be doing. Leaving a comment in the code for why something is ugly is the best thing you can do when you don’t clean something up, so that someone coming along after you doesn’t struggle with it. We have no idea how many “naughty” comments are no longer there because the issues they addressed were cleaned up.

        • sp3ctr4l@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          11
          ·
          22 days ago

          If you were to talk like this in any job I’ve ever worked at, you’d be fired in about a week, maybe faster.

          Same with writing emails with this language.

          And you’re missing my point that if you made your own functions… and they don’t work right, … you should fix those functions, rework them.

          Not doing that is how you get technical debt, spaghetti code, which is bad for you, bad for what you’re trying to do, bad for anyone else trying to help you do it.

          Commenting on a bunch of slapdash fixes is like covering holes you punched in your wall with framed graffitti about how frustrated you are.

          If you saw that in a date’s home, you’d hopefully recognizr that as a red flag and nope the hell out.

          If everybody else is too busy to actually fix the code, you have inept project management.

          You as well have clearly never worked in an actual professional software dev environment, if you think this is reasonable or defensible.

    • sin_free_for_00_days@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      7
      ·
      22 days ago

      I wasn’t sure if Garry was commenting on his own code, or someone was calling Garry out on Garry’s code. Either way, your comment works.

      • sp3ctr4l@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        22 days ago

        Its likely a mix of Garry and maybe 2 to 4 other coders, who Garry assigns to develop various subsystems off of his broken core systems.

        Thats exactly how he did it during Garry’s Mod.