Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. They can see the policy working...

They can see the policy working...

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
36 Posts 25 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C [email protected]

    The duality of Programmer Humor: You get posts complaining about bloat, and posts complaining about this.

    X This user is from outside of this forum
    X This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #22

    1 Reply Last reply
    21
    • bleistift2@sopuli.xyzB [email protected]

      Depending on the configuration, a linter may cause the compilation or a CI pipeline to fail.

      M This user is from outside of this forum
      M This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #23

      Failing your local compilation due to linter problems is just stupid.

      Sending "temporary" changes into your CI pipeline isn't even stupid, it's borderline malicious.

      bleistift2@sopuli.xyzB 1 Reply Last reply
      0
      • naeap@sopuli.xyzN [email protected]

        In general, I'm with you
        But sometimes I need to revert/comment out a code block, because another code part isn't finished/working as it should.
        Sure, it clutters code, but if I just comment out a function call and temporarily replace it with the workaround, it should imho stay in code.

        Else the workaround will stay forever and the commented out code will act as a reminder, that this part isn't clean yet.

        But maybe it really is a case by case thing, where sometimes it's better to branch it out for later merge - although that can get really messy, while having the future implementation commented out, others will also see, how it is supposed to work and don't try to further extend the workaround, which makes future merging hell

        Out of interest, how would your best practice look in such cases?

        entropicdrift@lemmy.sdf.orgE This user is from outside of this forum
        entropicdrift@lemmy.sdf.orgE This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #24

        I would make it a TODO so that it's clearly temporary and so the linter bugs me about it until the intended permanent code is restored.

        In general I prefer to keep separate branches and maybe a draft PR open for visibility for that kind of situation, though.

        1 Reply Last reply
        3
        • savvywolf@pawb.socialS [email protected]

          Hot take: Clean up your darn imports. Otherwise you just make the links between modules confusing and messy.

          J This user is from outside of this forum
          J This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #25

          Sounds like a perfectly normal take.

          C 1 Reply Last reply
          11
          • M [email protected]

            Failing your local compilation due to linter problems is just stupid.

            Sending "temporary" changes into your CI pipeline isn't even stupid, it's borderline malicious.

            bleistift2@sopuli.xyzB This user is from outside of this forum
            bleistift2@sopuli.xyzB This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #26

            Sending “temporary” changes into your CI pipeline isn’t even stupid, it’s borderline malicious.

            No? “Hey customer, I’ve deployed the changes you requested to the staging area. Is this what you had in mind? Keep in mind it only looks good and isn’t fully functional yet.”

            1 Reply Last reply
            0
            • M [email protected]

              We have linting set up in our codebase, I had to switch and focus on one half of our project, and I nearly lost my mind when I came back to the other side and realized that every time someone said they were 'addressing linting issues', that actually meant they were putting eslint-disable everywhere until the pipeline stopped complaining.

              M This user is from outside of this forum
              M This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #27

              I might get physical in that sitiation. And I'm very tame.

              1 Reply Last reply
              4
              • C [email protected]

                Move over vibe coding, we vibe reviewing now

                B This user is from outside of this forum
                B This user is from outside of this forum
                [email protected]
                wrote on last edited by [email protected]
                #28

                Copilot does do reviews in Github now. And they're decent actually, in my experience.

                1 Reply Last reply
                1
                • X [email protected]
                  This post did not contain any content.
                  D This user is from outside of this forum
                  D This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #29

                  The Trade Federation greatly appreciates useful imports.

                  1 Reply Last reply
                  1
                  • J [email protected]

                    Sounds like a perfectly normal take.

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #30

                    Really, OP might have had the hot one with "unnecessary imports sitting around are fine".

                    S 1 Reply Last reply
                    7
                    • C [email protected]

                      Move over vibe coding, we vibe reviewing now

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #31

                      Yeah code rabbit does a decent job of pointing out things you may have missed.

                      1 Reply Last reply
                      0
                      • C [email protected]

                        Really, OP might have had the hot one with "unnecessary imports sitting around are fine".

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #32

                        ...if only that were the case.

                        1 Reply Last reply
                        1
                        • C [email protected]

                          Move over vibe coding, we vibe reviewing now

                          U This user is from outside of this forum
                          U This user is from outside of this forum
                          [email protected]
                          wrote on last edited by [email protected]
                          #33

                          Next what?
                          Vibe marketing?
                          Then vibe selling and vibe buying?
                          Then vibe using?
                          Because software is now made out of AI, by AI, for AI?

                          So now, if your AI user likes the program that your AI buyer bought, it will inject some dopamine in your bloodstream, giving you the vibes, while you lay on your bed?

                          C 1 Reply Last reply
                          3
                          • K [email protected]

                            Competent people vs incompetent people.

                            U This user is from outside of this forum
                            U This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #34

                            Also, slightly less competent ppl vs slightly more competent ppl.

                            1 Reply Last reply
                            0
                            • entropicdrift@lemmy.sdf.orgE [email protected]

                              This. Commenting out code is bad practice

                              U This user is from outside of this forum
                              U This user is from outside of this forum
                              [email protected]
                              wrote on last edited by [email protected]
                              #35

                              Yeah, I stopped using comments as a code ON/OFF switch when I started using git.
                              But then I handed over my project to someone without OCD and now the repo is full of code inside comments.


                              And because I don't use git stash properly enough, in some projects, my stash is 3+ stacks long, with almost the same changes in each of the stashed entries.

                              1 Reply Last reply
                              0
                              • U [email protected]

                                Next what?
                                Vibe marketing?
                                Then vibe selling and vibe buying?
                                Then vibe using?
                                Because software is now made out of AI, by AI, for AI?

                                So now, if your AI user likes the program that your AI buyer bought, it will inject some dopamine in your bloodstream, giving you the vibes, while you lay on your bed?

                                C This user is from outside of this forum
                                C This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #36

                                https://m.youtube.com/watch?v=nMuh33BMZYY

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups