• UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      25 days ago

      It’s great for getting off the ground in a language you’re unfamiliar with. But a recipe for technical debt when used long term. You’re inviting spaghetti code with some real hair pulling bugs.

      • Zelaf@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        25 days ago

        This was my usecase when learning JS. I’ve always had a very very difficult time with programming and wrapping my head around those types of patterns. But with the help of AI I was able to get a quicker understanding and being able to ask followup questions, explain what different symbols do, nowadays I use it as a basic reference to get a starting point to some solutions while just being well versed enough to approach a lot of things on my own.

        I often try to switch around and experiment with different similar and potentially better approaches unless it’s giving me one of those responses that have been the most bogstandard straightforward way of doing it… because of a stackoverflow answer from 12 years ago. But those are often the more simpler queries. But each day I practice my programming I turn to search engines more and more to adapt similar problems to my own so the kickoff of using AI got me to the point where I had a stronger understanding of how things work in a practical learning method that worked really really well for me.

        I hate how great AI can be in some use cases while I also am part of the reason for excessive power usage of GPUs :( but I really don’t think I would’ve been able to get as far as I’ve come today without it.

  • شاهد على إبادة@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    25 days ago

    When I used to do image and signal processing for embedded systems in C and C++, AI was useless. Now that I do backend web development in Python and Ruby, AI is better than me. It really depends on the problem area and how many sample code and answers are out there for it to steal from.

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      I do backend development in PHP and Ruby, and AI sometimes has a suggestion that helps me out but is often completely, utterly useless, especially at actually coding the thing from scratch.

      • CommanderCloon@lemmy.ml
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        edit-2
        24 days ago

        Yeah lol, a lot of “I need to do X” and I often get “use functionThatDoesX then” and sometimes it’s a wonderful discovery, most often though it just doesn’t exist lol

        • psud@aussie.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          24 days ago

          I asked gpt for code to aim a heliostat

          It needed a module to get the sun’s position, it used sun::alt:: azimuth which doesn’t exist rather than Astro::Coord::ECI::Sun

          It needed a module to calculate mirror angle between the Sun’s altitude and azimuth and the target altitude and azimuth. It left that commented out rather than selecting the altitude halfway between Sun and target and azimuth between Sun and azimuth

          It turns out there’s precious little on the internet on how to aim a mirror, partly because it’s not popular, partly because it’s dead simple