My work is requiring me to start using AI so I did an exploration this weekend.

I was blown away by how quickly I was able to get a working app. Full social media clone complete with persistence, video and audio playback, auth, realtime updates, and image uploads in about half an hour. I was then horrified by the quality of the code and how little I understood what the code was doing. I 10x’ed my speed, but in return debugging and editing was 100x harder and more time consuming.

I was also attempting to learn React Native and took note of how little debugging using the AI helped me actually learn the platform I was working with. I ended up abandoning the AI in favor of just learning directly.

  • machinya [it/its, fae/faer]@hexbear.net
    link
    fedilink
    English
    arrow-up
    27
    ·
    10 days ago

    even with classically-written code, most of the time spend on development goes to debugging it. i cannot understand why it ever became popular to simplify the already simple part of programming and make the already hard one way harder. if you want a fully working application with little effort, there are many blueprints or frameworks that give you everything without having to trust the lie-generating machine to have something usable AND debugeable

    • space_comrade [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      10 days ago

      i cannot understand why it ever became popular to simplify the already simple part of programming and make the already hard one way harder.

      Writing the initial code was never simple to me unless it was trivial code, debugging was usually faster. Also setting up all the boilerplate is always boring as shit, might as well have the AI do it just don’t overdo it with using it.

    • VibeCoder [they/them]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      10 days ago

      We’re using a company-provided subscription, so they can see our stats. They’re requiring we use it as a trial to see how much it improves productivity. And they specifically said they don’t want us to come to the end of the trial with no feedback because we didn’t like using it.

      • space_comrade [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        10
        ·
        10 days ago

        Ridiculous, sounds like a half assed management ploy to cut down on labor costs. It is now your duty to burn through all the tokens they paid for and declare it to be shit even if it was somewhat useful.

        • VibeCoder [they/them]@hexbear.netOP
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          10 days ago

          It came directly from the board, yeah. Unfortunately, some of my colleagues have indeed found some pretty good uses for doing things like generating certain boilerplate that’s pretty common in our codebase. I don’t think I have a chance of convincing anyone it’s not useful. Just trying to document what it is useless for so I don’t bother with it.

    • ANarcoSnowPlow [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      10 days ago

      “This code isn’t shitty enough!”

      “It appears that whoever wrote this understood the problem, the language, and had a thorough grasp of an appropriate solution. I’m afraid we need to let you go.”

    • Goun@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 days ago

      Now that Shopify made it mandatory, every company is doing the same

  • KnilAdlez [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    13
    ·
    10 days ago

    I have used it once or twice because I am bad with any graphical projects. The absolute best way to use AI, imo, is like an enhanced version of Google. Breaking the problem down to the smallest parts to ask about. But even then I still hate using it.

    • KobaCumTribute [she/her]@hexbear.net
      link
      fedilink
      English
      arrow-up
      15
      ·
      10 days ago

      The absolute best way to use AI, imo, is like an enhanced version of Google. Breaking the problem down to the smallest parts to ask about. But even then I still hate using it.

      The main use a friend of mine has gotten out of it is as a way to figure out what part of the language or library documentation to even look at to learn how to do a given task, instead of just trying to articulate the problem in a way that returns the right stackoverflow questions where someone mentions the language feature or class.

  • hello_hello [comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    10 days ago

    so you’re using LLMs for programming, what have you created? What problems have you solved to make peoples lives better.

    I machine generated social media web app slop.

    oh.

    • VibeCoder [they/them]@hexbear.netOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 days ago

      Yeah it’s not something I’m releasing or was meant to be a good app for actual users. Just a toy project to learn with. I usually do a social media feed instead of todo app or a counter button because it lets me dive a little deeper and it’s a domain I’m familiar with.

  • Andrzej3K [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    10 days ago

    Ime it can be incredibly useful, but you really have to double check everything, try hard to enforce consistently, and not lose track of what’s actually happening in your codebase, otherwise bad things are going to happen — especially if you’re working on anything that is in any way novel