Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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

NodeBB

  1. Home
  2. uncategorized
  3. Another mini rant about the vibecoded project I'm fixing.

Another mini rant about the vibecoded project I'm fixing.

Scheduled Pinned Locked Moved uncategorized
12 Posts 7 Posters 0 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.
  • volpeon@icy.wyvern.ripV This user is from outside of this forum
    volpeon@icy.wyvern.ripV This user is from outside of this forum
    volpeon@icy.wyvern.rip
    wrote last edited by volpeon@icy.wyvern.rip
    #1

    Another mini rant about the vibecoded project I'm fixing. ​:wvrnFlat:​

    So we use Vue. For bidirectional data flows between components, you use the
    modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER

    erpel@hai.z0ne.socialE volpeon@icy.wyvern.ripV krutonium@social.treehouse.systemsK frawst@fedi.fraw.stF 4 Replies Last reply
    0
    • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

      Another mini rant about the vibecoded project I'm fixing. ​:wvrnFlat:​

      So we use Vue. For bidirectional data flows between components, you use the
      modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER

      erpel@hai.z0ne.socialE This user is from outside of this forum
      erpel@hai.z0ne.socialE This user is from outside of this forum
      erpel@hai.z0ne.social
      wrote last edited by
      #2

      @volpeon@icy.wyvern.rip Mutiert fröhlich ​​

      THIS IS NOT WHAT YOU SHOULD DO, EVER
      mutiert traurig ​​

      volpeon@icy.wyvern.ripV 1 Reply Last reply
      0
      • erpel@hai.z0ne.socialE erpel@hai.z0ne.social

        @volpeon@icy.wyvern.rip Mutiert fröhlich ​​

        THIS IS NOT WHAT YOU SHOULD DO, EVER
        mutiert traurig ​​

        volpeon@icy.wyvern.ripV This user is from outside of this forum
        volpeon@icy.wyvern.ripV This user is from outside of this forum
        volpeon@icy.wyvern.rip
        wrote last edited by
        #3

        @Erpel ​​

        1 Reply Last reply
        0
        • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

          Another mini rant about the vibecoded project I'm fixing. ​:wvrnFlat:​

          So we use Vue. For bidirectional data flows between components, you use the
          modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER

          volpeon@icy.wyvern.ripV This user is from outside of this forum
          volpeon@icy.wyvern.ripV This user is from outside of this forum
          volpeon@icy.wyvern.rip
          wrote last edited by
          #4

          Every single edit in that component — and there are many — is likeprops.task.someArray.push(...) emit("update")


          AAAAAA
          ​​

          hj@shigusegubu.clubH volpeon@icy.wyvern.ripV legion495@mk.absturztau.beL 3 Replies Last reply
          0
          • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

            Another mini rant about the vibecoded project I'm fixing. ​:wvrnFlat:​

            So we use Vue. For bidirectional data flows between components, you use the
            modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER

            krutonium@social.treehouse.systemsK This user is from outside of this forum
            krutonium@social.treehouse.systemsK This user is from outside of this forum
            krutonium@social.treehouse.systems
            wrote last edited by
            #5

            @volpeon Ah but you see, does it anyway

            volpeon@icy.wyvern.ripV 1 Reply Last reply
            0
            • krutonium@social.treehouse.systemsK krutonium@social.treehouse.systems

              @volpeon Ah but you see, does it anyway

              volpeon@icy.wyvern.ripV This user is from outside of this forum
              volpeon@icy.wyvern.ripV This user is from outside of this forum
              volpeon@icy.wyvern.rip
              wrote last edited by
              #6

              @krutonium ​​

              1 Reply Last reply
              0
              • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                Every single edit in that component — and there are many — is likeprops.task.someArray.push(...) emit("update")


                AAAAAA
                ​​

                hj@shigusegubu.clubH This user is from outside of this forum
                hj@shigusegubu.clubH This user is from outside of this forum
                hj@shigusegubu.club
                wrote last edited by
                #7
                @volpeon i recently replaced passing callback function as prop with proper event from some ancient code in pleromafe...
                1 Reply Last reply
                0
                • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                  Every single edit in that component — and there are many — is likeprops.task.someArray.push(...) emit("update")


                  AAAAAA
                  ​​

                  volpeon@icy.wyvern.ripV This user is from outside of this forum
                  volpeon@icy.wyvern.ripV This user is from outside of this forum
                  volpeon@icy.wyvern.rip
                  wrote last edited by volpeon@icy.wyvern.rip
                  #8

                  He's even mutating the prop IN A GETTERconst thing = computed(() => { if (...) { props.task.prop = {...}; emit("update"); } });

                  kura@hai.z0ne.socialK volpeon@icy.wyvern.ripV 2 Replies Last reply
                  0
                  • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                    He's even mutating the prop IN A GETTERconst thing = computed(() => { if (...) { props.task.prop = {...}; emit("update"); } });

                    kura@hai.z0ne.socialK This user is from outside of this forum
                    kura@hai.z0ne.socialK This user is from outside of this forum
                    kura@hai.z0ne.social
                    wrote last edited by
                    #9

                    @volpeon@icy.wyvern.rip emit("volpeon:mad")

                    1 Reply Last reply
                    0
                    • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                      Another mini rant about the vibecoded project I'm fixing. ​:wvrnFlat:​

                      So we use Vue. For bidirectional data flows between components, you use the
                      modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER

                      frawst@fedi.fraw.stF This user is from outside of this forum
                      frawst@fedi.fraw.stF This user is from outside of this forum
                      frawst@fedi.fraw.st
                      wrote last edited by
                      #10

                      @volpeon@icy.wyvern.rip why is it called vibe coding when the vibes are absolutely atrocious ​​

                      1 Reply Last reply
                      0
                      • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                        Every single edit in that component — and there are many — is likeprops.task.someArray.push(...) emit("update")


                        AAAAAA
                        ​​

                        legion495@mk.absturztau.beL This user is from outside of this forum
                        legion495@mk.absturztau.beL This user is from outside of this forum
                        legion495@mk.absturztau.be
                        wrote last edited by
                        #11

                        @volpeon@icy.wyvern.rip I am enjoying this series of events. This is fun to read but likely a nightmare to work on.

                        1 Reply Last reply
                        0
                        • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

                          He's even mutating the prop IN A GETTERconst thing = computed(() => { if (...) { props.task.prop = {...}; emit("update"); } });

                          volpeon@icy.wyvern.ripV This user is from outside of this forum
                          volpeon@icy.wyvern.ripV This user is from outside of this forum
                          volpeon@icy.wyvern.rip
                          wrote last edited by
                          #12

                          Fucking hell, how am I even supposed to salvage this

                          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.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups