• eltimablo@kbin.social
    link
    fedilink
    arrow-up
    27
    ·
    1 year ago

    What an utterly blind, self-centered view. Write good, readable code so you can actually maintain it and so your coworkers don’t want to kill you.

    • aport@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      I think vzq’s point is that you can write good, readable code that doesn’t do what the user wants. Same with other metrics that are ripe for navel-gazing like code coverage.

      It’s bordering on a false dichotomy… but I also believe that dynamic, untyped languages have proven exceptionally useful for rapid prototyping and iteration.

      • vzq
        link
        fedilink
        arrow-up
        13
        ·
        edit-2
        2 months ago

        deleted by creator

        • pjhenry1216@kbin.social
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          You’re setting up a theoretically boogie man that no one said exists and then setup the extreme opposite point of view. You’re annoying the people that are actually sane. You’re being dogmatic in your one views and too extreme.

          • vzq
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            2 months ago

            deleted by creator

              • vzq
                link
                fedilink
                arrow-up
                4
                ·
                edit-2
                2 months ago

                deleted by creator

                • pjhenry1216@kbin.social
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  1 year ago

                  That sounds like bad business. No application is 100% unique in everything. Code reuse saves time. If you are unable to bring anything from one app to another, you’re doing it wrong.

                  Let me guess though, I was right. You’re a manager not a developer.

                  • vzq
                    link
                    fedilink
                    arrow-up
                    3
                    ·
                    edit-2
                    2 months ago

                    deleted by creator

      • pitbuster@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        but I also believe that dynamic, untyped languages have proven exceptionally useful for rapid prototyping and iteration.

        Except that prototypes never end up as just prototypes, they die or become the real app with lots of masking tape.

    • vzq
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 months ago

      deleted by creator

      • eltimablo@kbin.social
        link
        fedilink
        arrow-up
        20
        ·
        edit-2
        1 year ago

        If you can’t see that writing readable code is part of the means to that end, I don’t know what to tell you. If nobody can maintain the codebase because it’s a mess of spaghetti logic and 20-deep dependency trees (I’m looking at you, every JavaScript project I’ve ever seen), the end product is going to suffer while also making every single engineer working on it want to leave.

        This is not a controversial take in professional software development.

        Funny, it sure seems like “maintainability should not be a priority” is a pretty controversial take to me.

        • vzq
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 months ago

          deleted by creator

          • eltimablo@kbin.social
            link
            fedilink
            arrow-up
            11
            ·
            1 year ago

            In my world we prioritize one. And that not the one.

            Then I’m really glad I don’t live in that world.

          • pjhenry1216@kbin.social
            link
            fedilink
            arrow-up
            7
            ·
            1 year ago

            In my world we prioritize one.

            Weird. In most cases priorities change as the situation demands. The application doesn’t matter when it comes to maintainability. Tech debt will take down any application if you keep ignoring maintainability at the expense of just delivering more and more. You sound more like a manager than a developer.

            • RandoCalrandian@kbin.social
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Even their excuses if a “24h only event app” don’t hold water

              Even in that case, a business would be wanting to make many of those apps, and this commenter is arguing making a new one from scratch every time over massively simplifying things with quality reusable code.

              Even their own example shows how terrible it is an idea to deprioritize code quality/readability.

    • Amju Wolf@pawb.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      But you can do that in vanilla JS, too.

      Even better, don’t use JS at all if you don’t have to.

      You can write shitty code in TS too.