• plyth@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      lol hardcoded shit everywhere

      It’s open source. Why not? People who want a configuration menu can create a patch.

      • expr@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

        Just because code is open source doesn’t mean shit code can’t be called out. Shit code is shit code.

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          But why is hardcoding shit code for open source code? The code is easier to read because no if or switch statements are needed to distinguish between the options. No configiration menu has to be maintained.

          • notfromhere@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 day ago

            Open source just means people are free to edit it and distribute their changes. Hardcoding things like this is bad practice no matter if it’s open source or not. It’s not maintainable. Maintainable as in easily maintainable, I.e., configuration files not code edits.

      • BB84@mander.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

        I didn’t downvote your comment. But let me argue anyway.

        Lots of people flock to PieFed because it is not made by the Lenmy devs who are unpalatably heavy handed in their “moderation” on the ml instance. One would hope this means PieFed offers more freedom to use the software how you like. So it’s funny that it’s even stricter “moderation” AND NOW ITS HARDCODED so it affects every instance.

        • lambalicious@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          So it’s funny that it’s even stricter “moderation” AND NOW ITS HARDCODED so it affects every instance.

          Lol, people so afraid of Lemmy devs bowing to the CCP that they migrate to the fediverse option that actually implements CCP societal control features. McCarthysim really did a number on the Amerikkkan brain, dunno if it is impacting people from elsewhere that much. This surely was not in my 2026 Bingo card!

        • plyth@feddit.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          ITS HARDCODED so it affects every instance.

          It’s open source. Every instance can change it and if something is common, people can maintain the patch together.

          Lenmy devs who are unpalatably heavy handed in their “moderation” on the ml instance.

          Which is their instance. I don’t like the hate they receive. They have established a social network that allows everybody to run their own instance with their own moderation. To present them as the villains must be nurtured by the establishment.

          So it’s funny that it’s even stricter

          Absolutely

          • notfromhere@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 day ago

            That isn’t how it works. They would have to FORK the code and maintain their changes going forward with every update. That is poor software development practices no matter how you look at it.

            • plyth@feddit.org
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 day ago

              I think the Brave browser does it with Chrome. Wouldn’t the source control tool do most of the maintenance?

              • BB84@mander.xyz
                link
                fedilink
                English
                arrow-up
                0
                ·
                1 day ago

                Chromium is a well-organized and mature codebase, which makes syncing changes relatively easy (also Brave’s chageset is limited in scope, so less conflicts to worry about). PieFed is neither mature nor well-organized. Maintaining a downstream project from it would be a nightmare.