Support this channel on Patreon ► https://www.patreon.com/zoranhorvatGenerative AI can write code, but it cannot develop software on its own. Here is why the...

you are viewing a single comment's thread
view the rest of the comments
[–] -1 points 4 months ago (31 children)

I'm a retired software dev, but anactive developer I know talks about how much time he saves daily by using Claude for grunt work.

  • source
  • hideshow 31 child comments
  • [–] 18 points 4 months ago (5 children)

    I've tried (and still try) to find good workflows using AI, but I don't think I've found anything that saves time. To get the same quality using AI, I have to go back and forth with it a lot, and review all the bloated bullshit it generates. If you don't care about quality or the thing even working correctly (e.g. prototypes/POCs), it's really fast.

  • source
  • parent
  • hideshow 5 child comments
  • [–] -1 points 4 months ago (1 child)

    don’t think I’ve found anything that saves time

    Then you're doing something very wrong. I'm yet to be convinced about AI coding for long lived projects, but for throwaway scripts, visualisations, one-off conversions and basically anything that doesn't need to be maintained long term it absolutely saves a mountain of time.

    Stick your head in the sand all you like...

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 4 months ago

    I already covered that in my last sentence. Those things aren't the things that take the bulk of the time, in my experience; I guess other peoples jobs are different. Generally, everything I write needs to maintained long term, or at least until the company goes under.

  • source
  • parent
  • [+] -7 points 4 months ago (2 children)

    Or if you do care about quality and learn how to use it right.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 12 points 4 months ago (1 child)

    You aren't prompting right, bruh. You need to be very good at writing markdown to leverage Ayy-Eye properly.

    You aren't using the latest and the greatest model, bruh. Have you tried Claude Fairy Tale 6.9.420?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 9 points 4 months ago (15 children)

    Tell him this: If you’re writing that much boilerplate (grunt work), you’re probably doing something wrong. If AI can write your normal work, you really should be learning, so not using AI at all.

  • source
  • parent
  • hideshow 15 child comments
  • [–] 13 points 4 months ago (14 children)

    Actually I'm not going to tell a dev with decades of experience that an internet rando thinks he's doing his job wrong lol.

  • source
  • parent
  • hideshow 14 child comments
  • [–] 8 points 4 months ago* (11 children)

    K. It’s astounding to me that after decades in the business, he’s still writing code that can be written by basically an intern.

    When I try to get AI to write my code, it stumbles all over itself just failing to understand the simplest of my libraries. (Literally it made multiple mistakes using the fucking tokenizer library I wrote that is so simple, an intern would have no problem with it.)

  • source
  • parent
  • hideshow 11 child comments
  • [–] -1 points 4 months ago (2 children)

    Yeah, so if you are a senior dev, the easy work just disappears? Like if you are an experienced carpenter, you will never have to drive nails again, because that's too easy!

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 4 months ago

    If the majority of your time is spent on the easy work, you’re probably not a senior dev. If you are, maybe you shouldn’t be.

    Yes, we still have to do the easy work, but it doesn’t take much time. I’d rather do it myself and know that it’s done right, than let an AI do it and have to fix all of its mistakes. In my experience, it takes the same amount of time.

  • source
  • parent
  • [–] 3 points 4 months ago

    any senior carpenter that is doing the easy work has a jig they custom built to do it in a tenth the time. same for a dev. templates in your ide, the use of specific libraries that make developing tests 10x faster than a normal junit test. Whatever it is, if you're a dev with decades of experience and you haven't gotten to the point that the 'grunt work' isn't a few seconds of time then you're not a good dev, you're a shit dev who sat on their ass for decades doing nothing.

    And now AI has given you the chance to be even better at that, sitting on your ass doing nothing.

  • source
  • parent
  • [–] -5 points 4 months ago (7 children)

    he’s still writing code that can be written by basically an intern He usually does full-stack projects by himself, so he has to do everything. And he's using AI to do what interns could do. I've dabbled a little using VSCode AI myself to refactor and upgrade a couple hobby projects, and it didn't "stumble all over itself" at all. In fact it conversed with me like an intern or colleague would, and made many proposals I agreed with. There are ways to craft your prompts that make AI work better. Maybe that's your problem I dunno.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 4 points 4 months ago* (6 children)

    Even if it does write code that works, it usually (about 50% of the time in my experience) has bugs, and sometimes those bugs can be really difficult to spot. For me, it has never saved me any time. I’m either fixing something it doesn’t know how to do correctly, or going over its code with a fine tooth comb because when it says, “this is production ready code, with no bugs,” it’s usually wrong. That takes a lot of time. It’s easier for me to just write the code correctly myself.

    Admittedly, I haven’t used that new model that Anthropic revoked access to the public to recently. Maybe that one is good enough for government work.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 4 months ago (1 child)

    Fable was "just ask and get it done" quality level, but really I don't get THAT much bugs - about the same amount that I see irl developers do: get a new feature, find 5 problems, get them fixed, find one more, done. As a recommendation - try to alleviate the biggest problems that ai models have:

    • overconfidence - skipping wrong stuff "because they have a note saved that it works" or losing the point where they stopped after a session broke, then making things up. Test Driven Development solves the majority of problems like that - when Claude writes tests first, then it's not able to bullshit me that the job is done when "everything is red"
    • even with large contexts, they run out and stuff gets lost. So if you're not doing something really compact, make your ai document everything, document the feature they are working on now, make it then offload it to permanent doc when that piece is finished. When the ai will fuck up next time, you can tell it to "go read some docs" and most of the times it will work
  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 4 months ago*

    I’m glad it works for you, but it simply does not work for me. Maybe you could try yourself on some of my libraries, because I have never gotten it to save me any time. It’s just spending money and making the work less fun for no reason. Oh, also not having the copyrights to the things that go in my code base, don’t forget that.

  • source
  • parent
  • [–] 1 point 4 months ago (3 children)

    When I first tried it I felt lost, but after watching a couple videos about writing good prompts I had no trouble getting it to produce perfectly good code that did what I wanted. Your mileage may vary.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 4 months ago (2 children)

    Honestly, I think what you consider „good code“ is just shifted from what the previous commenter considers „good code“. Prompting is about giving enough information so the AI can solve the task without needing to reconstruct a lot of context. Most people using AI somewhat regularly will have figured out to write good enough prompts. I‘ve never seen AI generate perfectly good code beyond hello world and the fibonacci sequence. And by perfectly good I mean I wouldn’t change beyond 30% of what it produces, which is not a high bar.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 4 months ago (1 child)

    The last thing I had it do was create a filesystem using Discord as the storage medium. Don't ask me to justify the approach or tell me it breaks Discord's rules - that's irrelevant to my point. It was a fun idea to explore a way to host a bot for public use without also hosting other people's data. The data is pretty minimal but does involve several small tables with relational links. I thought it would be interesting to store it as a few Discord messages in a private channel.

    As sample data I gave the AI the JSON file I had been using locally, and discussed various aspects of the design with it. It came up with the scheme of splitting up the data using a channel for each table and a message for each row. I don't remember the interaction in detail but it asked me a bunch of questions - for example, it commented that Discord's limit of 2000 characters per message didn't seem to be a problem given the sample data, but wanting me to confirm. I had it generate the code as a node module with complete CRUD functionality, and refactor my existing code to use the module instead of the JSON file. What it gave me worked perfectly right away.

    Now of course this isn't "Write me an accounting system," but it's far more complex than Hello World or Fibonnacci. Whether or not you code with AI is your choice, but deciding my notion of quality isn't up to someone else's because my results aren't "AI sucks" is just pure denialism.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 4 months ago

    Honestly, I would argue about the complexity of it. The discord API is straightforward, and what you're describing doesn't sound that complicated.

    And we have seen fairly complex stuff that AI did, but if it does pull it off somehow, the next question is quality.

    I just read a bit of AI code a few minutes ago, and it didn't take long to step over a chain of if / else if statements where only the first if statement if reachable, the rest is not. The code should've been one if statement followed by a match statement. Not sure why the LLM thought "combine" two logically completely separate statements into one. And that was in 1.5kloc it generated, so not much. There's probably even more, I just read a fraction of it.

  • source
  • parent
  • [–] 0 points 4 months ago (8 children)

    Most of the younger generation devs at my company are using ai coding - mostly for said gruntwork (like writing small functions, api methods, writing what data they want to see instead of complex sql requests), but some are more enthusiastic and use heavier agentic setups. The best validation is that we still have old-school human pull request reviews (enforced by a scary Chief R&D) and if your colleague would see something unreadable or weird, your stuff wouldn't pass.
    I'm a Product Manager and I have several pet products now - all pretty viable (depending on the time I invested in each of course). A stocks website, a money splitting android app (now passing google play review), a weather app. All working, and I have really low coding skills myself

  • source
  • parent
  • hideshow 8 child comments
  • [–] 16 points 4 months ago (3 children)

    AI corporate slop is when you mass generate a bunch of stuff, don't read it, and then export the mental burden to a different coworker. You make them looks less productive and you look extremely productive, when really you're stealing the productivity of colleagues.

    You just reminded me of that.

  • source
  • parent
  • hideshow 3 child comments
  • [–] -4 points 4 months ago (2 children)

    Again, in a corporate setting I see that the "generated stuff" is being read before being approved. And in my private setting I'm working on my projects for myself, I'm not "stealing the productivity", I obtained productivity. All my life I was coming up with ideas, planning, and managing, but having something on my own wasn't possible - I can't hire a dev team. Now I am my team, I'm empowered.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 4 months ago (3 children)

    what actual product do any of those sites produce

    sounds like toys

  • source
  • parent
  • hideshow 3 child comments
  • [–] -1 points 4 months ago (2 children)

    "Sounds"? You are an expert in measuring value by vague comments?
    Okay:

    • The expense splitting app I made for myself, my friends, and maybe other people (no ide if it will be picked up), after I was managing a giant spreadsheet of our new year's trip costs. Now my app calculates everything, of any complexity, and it is used.
    • The stock trading site has everything that I need from a stock trading site (to look for opportunities to buy), but I needed 3 or 4 before
    • The weather app I made not because there's not enough weather apps, but because each and every app wants your data for 1000s of their partners, so I made my own thing that shows weather.
      If it's not real life value, then I don't know
  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 4 months ago

    There's foss apps for weather that don't collect all that data, if you're using Android it's usually a good idea to first check f-droid for utilities like that as it's likely someone else already built it, and it's usually still receiving fixes and updates (the page shows you that kind of information).

  • source
  • parent