• (des)mosthenes@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 hours ago

    no shit. ai will hallucinate shit I’ll hit tab by accident and spend time undoing that or it’ll hijack tab on new lines inconsistently

  • kescusay@lemmy.world
    link
    fedilink
    English
    arrow-up
    91
    arrow-down
    1
    ·
    edit-2
    10 hours ago

    Experienced software developer, here. “AI” is useful to me in some contexts. Specifically when I want to scaffold out a completely new application (so I’m not worried about clobbering existing code) and I don’t want to do it by hand, it saves me time.

    And… that’s about it. It sucks at code review, and will break shit in your repo if you let it.

    • billwashere@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      4
      ·
      8 hours ago

      Not a developer per se (mostly virtualization, architecture, and hardware) but AI can get me to 80-90% of a script in no time. The last 10% takes a while but that was going to take a while regardless. So the time savings on that first 90% is awesome. Although it does send me down a really bad path at times. Being experienced enough to know that is very helpful in that I just start over.

      In my opinion AI shouldn’t replace coders but it can definitely enhance them if used properly. It’s a tool like everything. I can put a screw in with a hammer but I probably shouldn’t.

      • kescusay@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 hours ago

        Like I said, I do find it useful at times. But not only shouldn’t it replace coders, it fundamentally can’t. At least, not without a fundamental rearchitecturing of how they work.

        The reason it goes down a “really bad path” is that it’s basically glorified autocomplete. It doesn’t know anything.

        On top of that, spoken and written language are very imprecise, and there’s no way for an LLM to derive what you really wanted from context clues such as your tone of voice.

        Take the phrase “fruit flies like a banana.” Am I saying that a piece of fruit might fly in a manner akin to how another piece of fruit, a banana, flies if thrown? Or am I saying that the insect called the fruit fly might like to consume a banana?

        It’s a humorous line, but my point is serious: We unintentionally speak in ambiguous ways like that all the time. And while we’ve got brains that can interpret unspoken signals to parse intended meaning from a word or phrase, LLMs don’t.

    • MangoCats@feddit.it
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      2
      ·
      9 hours ago

      I have limited AI experience, but so far that’s what it means to me as well: helpful in very limited circumstances.

      Mostly, I find it useful for “speaking new languages” - if I try to use AI to “help” with the stuff I have been doing daily for the past 20 years? Yeah, it’s just slowing me down.

    • Alex@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      8 hours ago

      Sometimes I get an LLM to review a patch series before I send it as a quick once over. I would estimate about 50% of the suggestions are useful and about 10% are based on “misunderstanding”. Last week it was suggesting a spelling fix I’d already made because it didn’t understand the - in the diff meant I’d changed the line already.

    • lIlIlIlIlIlIl@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      20
      ·
      10 hours ago

      Exactly what you would expect from a junior engineer.

      Let them run unsupervised and you have a mess to clean up. Guide them with context and you’ve got a second set of capable hands.

      Something something craftsmen don’t blame their tools

      • Feyd@programming.dev
        link
        fedilink
        English
        arrow-up
        53
        arrow-down
        1
        ·
        10 hours ago

        AI tools are way less useful than a junior engineer, and they aren’t an investment that turns into a senior engineer either.

        • MangoCats@feddit.it
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          10
          ·
          9 hours ago

          AI tools are actually improving at a rate faster than most junior engineers I have worked with, and about 30% of junior engineers I have worked with never really “graduated” to a level that I would trust them to do anything independently, even after 5 years in the job. Those engineers “find their niche” doing something other than engineering with their engineering job titles, and that’s great, but don’t ever trust them to build you a bridge or whatever it is they seem to have been hired to do.

          Now, as for AI, it’s currently as good or “better” than about 40% of brand-new fresh from the BS program software engineers I have worked with. A year ago that number probably would have been 20%. So far it’s improving relatively quickly. The question is: will it plateau, or will it improve exponentially?

          Many things in tech seem to have an exponential improvement phase, followed by a plateau. CPU clock speed is a good example of that. Storage density/cost is one that doesn’t seem to have hit a plateau yet. Software quality/power is much harder to gauge, but it definitely is still growing more powerful / capable even as it struggles with bloat and vulnerabilities.

          The question I have is: will AI continue to write “human compatible” software, or is it going to start writing code that only AI understands, but people rely on anyway? After all, the code that humans write is incomprehensible to 90%+ of the humans that use it.

          • Feyd@programming.dev
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            1
            ·
            9 hours ago

            Now, as for AI, it’s currently as good or “better” than about 40% of brand-new fresh from the BS program software engineers I have worked with. A year ago that number probably would have been 20%. So far it’s improving relatively quickly. The question is: will it plateau, or will it improve exponentially?

            LOL sure

            • MangoCats@feddit.it
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              2
              ·
              8 hours ago

              LOL sure

              I’m not talking about the ones that get hired in your 'leet shop, I’m talking about the whole damn crop that’s just graduated.

          • Feyd@programming.dev
            link
            fedilink
            English
            arrow-up
            9
            arrow-down
            3
            ·
            9 hours ago

            It is based on my experience, which I trust immeasurably more than rigged “studies” done by the big LLM companies with clear conflict of interest.

            • queermunist she/her@lemmy.ml
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              edit-2
              4 hours ago

              Okay, but like-

              You could just be lying.

              You could even be a chatbot, programmed to hype AI in comments sections.

              So I’m going to trust studies, not some anonymous commenter on the internet who says “trust me bro!”

              • Feyd@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                4 hours ago

                Huh? I’m definitely not hyping AI. If anything it would be the opposite. We’re also literally in the comment section for an a study about AI productivity which is the first remotely reputable study I’ve even seen. The rest have been rigged marketing stunts. As far as judging my opinion about the productivity of AI against junior developers against studies, why don’t you bring me one that isn’t “we made an artificial test then directly trained our LLM on the questions so it will look good for investors”? I’ll wait.

        • errer@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          8
          ·
          9 hours ago

          Yeah but a Claude/Cursor/whatever subscription costs $20/month and a junior engineer costs real money. Are the tools 400 times less useful than a junior engineer? I’m not so sure…

          • Feyd@programming.dev
            link
            fedilink
            English
            arrow-up
            12
            arrow-down
            1
            ·
            9 hours ago

            The point is that comparing AI tools to junior engineers is ridiculous in the first place. It is simply marketing.

          • lIlIlIlIlIlIl@lemmy.world
            link
            fedilink
            English
            arrow-up
            7
            ·
            9 hours ago

            Even at $100/month you’re comparing to a > $10k/month junior. 1% of the cost for certainly > 1% functionality of a junior.

            You can see why companies are tripping over themselves to push this new modality.

          • finalarbiter@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            6 hours ago

            This line of thought is short sighted. Your senior engineers will eventually retire or leave the company. If everyone replaces junior engineers with ai, then there will be nobody with the experience to fill those empty seats. Then you end up with no junior engineers and no senior engineers, so who is wrangling the ai?

            • errer@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 hours ago

              This isn’t black and white. There will always be some junior hires. No one is saying replace ALL of them. But hiring 1 junior engineer instead of 3? Maybe…and that’s already happening to some degree.

              • queermunist she/her@lemmy.ml
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 hours ago

                And when the current senior programmers retire the field of juniors that are coming to replace them will be much smaller.

                • bitwize01@reddthat.com
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  3 hours ago

                  Not that I agree, but if you believe that the LLMs will continuously improve, then in 5-10 years you may only need 1/3rd the seniors, to oversee and prompt. Again, that’s what these CEOs are relying on.

      • 5too@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        1
        ·
        10 hours ago

        The difference being junior engineers eventually grow up into senior engineers.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        9 hours ago

        Exactly what you would expect from a junior engineer.

        Except junior engineers become seniors. If you don’t understand this … are you HR?

        • lIlIlIlIlIlIl@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          4
          ·
          edit-2
          9 hours ago

          They might become seniors for 99% more investment. Or they crash out as “not a great fit” which happens too. Juniors aren’t just “senior seeds” to be planted

  • Feyd@programming.dev
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    1
    ·
    11 hours ago

    Fun how the article concludes that AI tools are still good anyway, actually.

    This AI hype is a sickness

  • astronaut_sloth@mander.xyz
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    10 hours ago

    I study AI, and have developed plenty of software. LLMs are great for using unfamiliar libraries (with the docs open to validate), getting outlines of projects, and bouncing ideas for strategies. They aren’t detail oriented enough to write full applications or complicated scripts. In general, I like to think of an LLM as a junior developer to my senior developer. I will give it small, atomized tasks, and I’ll give its output a once over to check it with an eye to the details of implementation. It’s nice to get the boilerplate out of the way quickly.

    Don’t get me wrong, LLMs are a huge advancement and unbelievably awesome for what they are. I think that they are one of the most important AI breakthroughs in the past five to ten years. But the AI hype train is misusing them, not understanding their capabilities and limitations, and casting their own wishes and desires onto a pile of linear algebra. Too often a tool (which is one of many) is being conflated with the one and only solution–a silver bullet–and it’s not.

    This leads to my biggest fear for the AI field of Computer Science: reality won’t live up to the hype. When this inevitably happens, companies, CEOs, and normal people will sour on the entire field (which is already happening to some extent among workers). Even good uses of LLMs and other AI/ML use cases will be stopped and real academic research drying up.

    • 5too@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      ·
      10 hours ago

      My fear for the software industry is that we’ll end up replacing junior devs with AI assistance, and then in a decade or two, we’ll see a lack of mid-level and senior devs, because they never had a chance to enter the industry.

      • squaresinger@lemmy.world
        link
        fedilink
        English
        arrow-up
        14
        ·
        9 hours ago

        That’s happening right now. I have a few friends who are looking for entry-level jobs and they find none.

        It really sucks.

        That said, the future lack of developers is a corporate problem, not a problem for developers. For us it just means that we’ll earn a lot more in a few years.

        • 5too@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          8 hours ago

          You’re not wrong, and I feel like it was a developing problem even before AI - everybody wanted someone with experience, even if the technology was brand new.

          That said, even if you and I will be fine, it’s still bad for the industry. And even if we weren’t the ones pulling up the ladder behind us, I’d still like to find a way to start throwing ropes back down for the newbies…

          • CosmicTurtle0@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            7
            ·
            7 hours ago

            They wanted someone with experience, who can hit the ground running, but didn’t want to pay for it, either with cash or time.

            • cheap
            • quick
            • experience

            You can only pick two.

          • squaresinger@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            7 hours ago

            You’re not wrong, and I feel like it was a developing problem even before AI - everybody wanted someone with experience, even if the technology was brand new.

            True. It was a long-standing problem that entry-level jobs were mostly found in dodgy startups.

            Tbh, I think the biggest issue right now isn’t even AI, but the economy. In the 2010s we had pretty much no intrest rate at all while having a pretty decent economy, at least for IT. The 2008 financial crisis hardly mattered for IT, and Covid was a massive boost for IT. There was nothing else to really spend money on.

            IT always has more projects than manpower, so with enough money to spend, they just hired everyone.

            But the sanctions against Russia in response to their invasion of Ukraine really hit the economy and rising intrest rates to combat inflation meant that suddenly nobody wanted to invest anymore.

            With no investments, startups dried up and large corporations also want to downsize. It’s no coincidence that return-to-work mandates only started after the invasion and not in the two years prior of that where lockdowns were already revoked. Work from home worked totally fine for two years after covid lockdowns, and companies even praised how well it worked.

            Same with AI. While it can improve productivity in some edge cases, I think it’s mostly a scapegoat to make mass-fireings sound like a great thing to investors.

            That said, even if you and I will be fine, it’s still bad for the industry. And even if we weren’t the ones pulling up the ladder behind us, I’d still like to find a way to start throwing ropes back down for the newbies…

            You are totally right with that, and any chance I get I will continue to push for hiring juniors.

            But I am also over corporate tears. For decades they have been crying over a lack of skilled workers in the IT and pushing for more and more people to join IT, so that they can dump wages, and as soon as the economy is bad, they instantly u-turn and dump employees.

            If corporations want to be short-sighted and make people suffer for it, they won’t get compassion from me when it fails.

            Edit: Remember, we are not the ones pulling the ladder up.

            • knexcar@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 hours ago

              Was it really Russia’s invasion, or just because the interest rates went up to prevent too much inflation after the COVID stimulus packages? Hard to imagine Russia had that much demand for software compared to the rest of the world.

        • Feyd@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 hours ago

          I would say that “replacing with AI assistance” is probably not what is actually happening. Is it economic factors reducing hiring. This isn’t the first time it has happened and it won’t be the last. The AI boosters are just claiming responsibility for marketing purposes.

    • Alex@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      They can be helpful when using a new library or development environment which you are not familiar with. I’ve noticed a tendency to make up functions that arguably should exist but often don’t.

    • bassomitron@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      10 hours ago

      Couldn’t have said it better myself. The amount of pure hatred for AI that’s already spreading is pretty unnerving when we consider future/continued research. Rather than direct the anger towards the companies misusing and/or irresponsibly hyping the tech, they direct it at the tech itself. And the C Suites will of course never accept the blame for their poor judgment so they, too, will blame the tech.

      Ultimately, I think there are still lots of folks with money that understand the reality and hope to continue investing in further research. I just hope that workers across all spectrums use this as a wake up call to advocate for protections. If we have another leap like this in another 10 years, then lots of jobs really will be in trouble without proper social safety nets in place.

      • Feyd@programming.dev
        link
        fedilink
        English
        arrow-up
        13
        ·
        9 hours ago

        People specifically hate having tools they find more frustrating than useful shoved down their throat, having the internet filled with generative ai slop, and melting glaciers in the context of climate change.

        This is all specifically directed at LLMs in their current state and will have absolutely zero effect on any research funding. Additionally, openAI etc would be losing less money if they weren’t selling (at a massive loss) the hot garbage they’re selling now and focused on research.

        As far as worker protections, what we need actually has nothing to do with AI in the first place and has everything to do with workers/society at large being entitled to the benefits of increased productivity that has been vacuumed up by greedy capitalists for decades.

    • MrPoopyButthole@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      9 hours ago

      Excellent take. I agree with everything. If I give Claude a function signature, types and a description of what it has to do, 90% of the time it will get it right. 10% of the time it will need some edits or efficiency improvements but still saves a lot of time. Small scoped tasks with correct context is the right way to use these tools.

    • ipkpjersi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      4
      ·
      edit-2
      9 hours ago

      They aren’t detail oriented enough to write full applications or complicated scripts.

      I’m not sure I agree with that. I wrote a full Laravel webapp using nothing but ChatGPT, very rarely did I have to step in and do things myself.

      In general, I like to think of an LLM as a junior developer to my senior developer. I will give it small, atomized tasks, and I’ll give its output a once over to check it with an eye to the details of implementation. It’s nice to get the boilerplate out of the way quickly.

      Yep, I agree with that.

      There are definitely people misusing AI, and there is definitely lots of AI slop out there which is annoying as hell, but they also can be pretty capable for certain things too, even more than one might think at first.

      • squaresinger@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        9 hours ago

        Greenfielding webapps is the easiest, most basic kind of project around. that’s something you task a junior with and expect that they do it with no errors. And after that you instantly drop support, because webapps are shovelware.

        • ipkpjersi@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          9 hours ago

          So you’re saying there’s no such thing as complex webapps and that there’s no such thing as senior web developers, and webapps can basically be made by a monkey because they are all so simple and there’s never any competent developers that work on them and there’s no use for them at all?

          Where do you think we are?

            • ipkpjersi@lemmy.ml
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              edit-2
              8 hours ago

              Who says I made my webapp with ChatGPT in an afternoon?

              I built it iteratively using ChatGPT, much like any other application. I started with the scaffolding and then slowly added more and more features over time, just like I would have done had I not used any AI at all.

              Like everybody knows, Rome wasn’t built in a day.

  • xep@fedia.io
    link
    fedilink
    arrow-up
    16
    ·
    10 hours ago

    Code reviews take up a lot of time, and if I know a lot of code in a review is AI generated I feel like I’m obliged to go through it with greater rigour, making it take up more time. LLM code is unaware of fundamental things such as quirks due to tech debt and existing conventions. It’s not great.

  • FancyPantsFIRE@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    10 hours ago

    I’ve used cursor quite a bit recently in large part because it’s an organization wide push at my employer, so I’ve taken the opportunity to experiment.

    My best analogy is that it’s like micro managing a hyper productive junior developer that somehow already “knows” how to do stuff in most languages and frameworks, but also completely lacks common sense, a concept of good practices, or a big picture view of what’s being accomplished. Which means a ton of course correction. I even had it spit out code attempting to hardcode credentials.

    I can accomplish some things “faster” with it, but mostly in comparison to my professional reality: I rarely have the contiguous chunks of time I’d need to dedicate to properly ingest and do something entirely new to me. I save a significant amount of the onboarding, but lose a bunch of time navigating to a reasonable solution. Critically that navigation is more “interrupt” tolerant, and I get a lot of interrupts.

    That said, this year’s crop of interns at work seem to be thin wrappers on top of LLMs and I worry about the future of critical thinking for society at large.

    • Feyd@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      6 hours ago

      That said, this year’s crop of interns at work seem to be thin wrappers on top of LLMs and I worry about the future of critical thinking for society at large.

      This is the must frustrating problem I have. With a few exceptions, LLM use seems to be inversely proportional to skill level, and having someone tell me “chatgpt said ___” when asking me for help because clearly chatgpt is not doing it for their problem makes me want to just hang up.

    • bassomitron@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      By having it write a quick function to do so or to sort them alphabetically within the chat? Because I’ve used GPT to write boilerplate and/or basic functions for random tasks like this numerous times without issue. But expecting it to sort a block of text for you is not what LLMs are really built for.

      That being said, I agree that expecting AI to write complex and/or long-form code is a fool’s hope. It’s good for basic tasks to save time and that’s about it.

      • BrianTheeBiscuiteer@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        The tool I use can rewrite code given basic commands. Other times I might say, “Write a comment above each line” or “Propose better names for these variables” and it does a decent job.

      • doxxx@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        10 hours ago

        I’ve actually had a fair bit of success getting GitHub Copilot do things like this. Heck I even got it to do some matrix transformations of vectors in a JSON file.