• garretble@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    ·
    3 hours ago

    I had a bit of a breakthrough with some personal growth with my code today.

    I learned a bit more about entity framework that my company is using for a project, and was able to create a database table, query it, add/delete/update, normal CRUD stuff.

    I normally work mostly on front end code, so it was rewarding to learn a new skill and see the data all the way from the database to the UI and back - all my code. I felt great after doing a code review this afternoon to make sure I wasn’t missing anything, and we talked about some refactoring to make it better.

    AI will never give you that.

    • Joe@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      11
      ·
      edit-2
      2 hours ago

      No, but it can help a capable developer to have more of those moments, as one can use LLMs and coding agents to (a) help explain the relationships in a complicated codebase succinctly and (b) help to quickly figure out why one’s code doesn’t work as expected (from simple bugs to calling out one’s own fundamental misunderstandings), giving one more time to focus on what matters to oneself.

      • dust_accelerator@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 minutes ago

        TBH, it’s not really that great at that. Is average at best and grossly misleading and flat out wrong at worst. It may bring slight speedups for average development on boring legacy enterprise code, but anything really novel and interesting? Detrimental.

        • Joe@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 minutes ago

          Most code on the planet is boring legacy code, though. Novel and interesting is typically a small fraction of a codebase, and it will often be more in the design than the code itself. Anything that can help us make boring code more digestible is welcome. Plenty of other pitfalls along the way though.

      • TORFdot0@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        1 hour ago

        AI can help you be more agile in getting out a PoC but vibe coding always ends up eating itself and you either aren’t capable enough to fix it (because you are a vibe coder) or you spend more time on the back 9, trying to clean up the code so you don’t have so many hacks and redundancy because the AI was too literal or hallucinated fake libraries that return null or its context window expired and it wrote 5 different versions of the same function

        • Joe@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          27 minutes ago

          It’s a changing world, and there is going to be an ever increasing amount of AI slop out there, and even more potential programmers who won’t make the leap due to the crutch.

          At the same time, there are always people who want to and will learn in spite of the available crutches the latest tech revolution brings.

          There will also be many good engineers who will exploit the tech for all its worth while applying appropriate rigour, increasing their real productivity and value manyfold.

          And there will be many non-programmers who can achieve much more in their respective fields, because AI tools can bridge gaps for them.

          Hopefully we won’t irreversibly destroy ourselves and our planet while we’re at it. 🙈

      • Echo Dot@feddit.uk
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        8
        ·
        2 hours ago

        giving one more time to focus on what matters to oneself.

        Is that been an insufferable prick online? Because I assure you no one wants you to spend more time on that, you spend enough time on that as it is.

        • Joe@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          2 hours ago

          Hm? Oh, I obviously misread the room. It seems I interrupted a circle jerk? My apologies.

          • floofloof@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            32 minutes ago

            I thought you made a good point. I have decades of experience and I find LLMs useful for the things you described.

            • Joe@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              18 minutes ago

              I have a suspicion that the guy took issue with my use of “one” instead of “you”, more-so than the content. Maybe it came across as uppity.