Thanks to visit codestin.com
Credit goes to programming.dev

    • gravitas_deficiency@sh.itjust.works
      Codestin Search App
      Codestin Search App
      English
      Codestin Search App
      11
      ·
      9 months ago

      As a software engineer who was introduced to the field in high school, over two decades ago: it’s real. People are doing it. I’ve met people doing this at my job, and directed focused scorn at them. You know the idiom of “knowing just enough to be dangerous”? Like, you’re learning C and you’re just playing around and you discover pointers, and you’re like “oh this is interesting”, but you haven’t learned or internalized that it is real easy to Fuck Things Up if you don’t use them very carefully (there’s a ton of stuff like this)? LLM codegen being used by novices is an absolute shitshow because the codegen will often create nonsense, broken, logically flawed, or deprecated code, and the novice user is just going to accept it at face value instead of understanding that it’s subtly wrong.

      • TonyOstrich@lemmy.world
        Codestin Search App
        Codestin Search App
        Codestin Search App
        2
        ·
        9 months ago

        That is just horrendous. I am not a coder by trade or education, but I do a fair amount of it in my job. I may heavily use copy and paste, but I at least make sure it matches the structure of my current code, and I always include the URL to where I got it in a comment above the code.

  • Lucy :3@feddit.org
    Codestin Search App
    Codestin Search App
    Codestin Search App
    31
    Codestin Search App
    1
    ·
    9 months ago

    Let’s acknowledge the good: AI-assisted coding can be a game-changer. It lowers barriers for new programmers and non-programmers, allowing them to produce working software by simply describing what they need.

    CW made a simple software in C# as MVC with ChatGPT. Let it change it once. HE DID ESSENTIALLY NOTHING FOR 7 WEEKS, EXCEPT ASKING ME TO FIX ANOTHER BUG EVERY WEEK. WE’RE SUPPOSED TO LEARN SOMETHING. GIVING JUNIORS AI TO “PROGRAM” IS LIKE GIVING A TODDLER THE TOP TEN DEADLIEST SUBSTANCES TO LEARN WHAT IS TOXIC AND WHAT ISN’T.

  • bitcrafter
    Codestin Search App
    Codestin Search App
    Codestin Search App
    23
    Codestin Search App
    1
    ·
    9 months ago

    This seems like more time and trouble than just writing the code yourself.

    (And while the same could often be said of assigning tasks to junior programmers, in that case it is an investment in the person rather than strictly a waste.)

    • im sorry i broke the code@sh.itjust.works
      Codestin Search App
      Codestin Search App
      Codestin Search App
      2
      ·
      9 months ago

      I swear, I wholeheartedly agree. By the time I get even something slightly like what I want I could have wrote it myself so I ended up saving zero time; there are instances where I actually save time, but it’s about tedious and simple tasks (I had to search a K-tree) or to refactor certain parts that are more or less the same. All the other times either the code sucks so much I end up writing the whole thing myself, or i know the steps myself so what’s the point of detailing a prompt that will require my intervention instead of just writing the code? Line completion is the other good thing about this wave of AI at least

  • Kissaki
    Codestin Search App
    Codestin Search App
    English
    Codestin Search App
    21
    ·
    9 months ago

    I still hate the “vibe” terminology.

    What I would have liked it to mean: While coding, put on some music, and zone out to coding.

    What it means now: Prompt an AI to generate working code and solutions.

    I don’t get where the “vibing” comes in. I guess you don’t have to think about the technical details? And that’s vibing? Maybe it’s just unfamiliarity and lack of practice, but poking the AI via prompting and thinking about how you can influence it better doesn’t feel like you could zone in to or “vibe”.

    Maybe it’s about letting go of reasoning and just going for it? Vibing in the sense of going with the flow?

    It’s not the first terminology I find unfitting. I’m trying to accept that it is what it is, and that it just is what “we collectively” have decided to call it (or ran with).

    • azolus@slrpnk.net
      Codestin Search App
      Codestin Search App
      English
      Codestin Search App
      12
      ·
      9 months ago

      This is giving me hope that I might actually be fine and succeed in interviews lol. On the other hand maaan I really don’t wanna maintain code written by AI-andys…

    • Test_Tickles@lemmy.world
      Codestin Search App
      Codestin Search App
      Codestin Search App
      5
      Codestin Search App
      10
      ·
      9 months ago

      As a senior programmer I can’t write a for loop without the internet.
      I can’t remember the last time I saw a job listing that didn’t expect me to be an expert in at least 5 languages. The best part is that halfway through the interview you learn that they are no longer using half the languages listed, and are “transitioning” towards 2 others that aren’t even listed. You want me to whip out examples written in Fortran, C++, Rust, JS, and some random word you claim is a language in 2 hrs without the internet? Bitch, I don’t even think I could get prewritten “Hello World” examples compiled in 5 different languages in 2 hrs, much less on machine that I have never seen before.

      • Traister101@lemmy.today
        Codestin Search App
        Codestin Search App
        Codestin Search App
        10
        ·
        9 months ago

        What ramdon ass language could they possibly be pulling out of their ass for you to he completely unable to write a for loop? I’ve yet to see a for loop, or really any sort of loop that doesn’t look pretty much exactly like the standard C style for loop

        for(int x = 0; x < z; x++) {
        }
        

        If you have a C style language with iterator for loops like C++, Java and friends you almost certainly have this syntax

        for(int x : numbers) {
        }
        

        Python has exclusively iterator for loops with this syntax

        for x in range(z)
        

        The only real difference is that instead of a colon : you use the in token.

        At best I can see the need for a quick refresh on what the exact syntax is but if your a senior any languages you actually use should have a template for junk like this. I don’t think I’ve manually written a loop in ages, I just type out iter for an iterator for loop or when I rarely need an index fori and the rest gets stamped out for me.

        If your being tested on random languages you can simply just not be familiar with a language. I haven’t touched Zig once but I’d totally be down to learn it. Everybody whos got a couple languages under their belt knows how easy it is to pick up new ones.

        • Test_Tickles@lemmy.world
          Codestin Search App
          Codestin Search App
          Codestin Search App
          7
          Codestin Search App
          3
          ·
          9 months ago

          Dude, there are at least 4 different “for” loop syntaxes in Js/Ts alone:

          for (let num = 1; num <= 5; num++) {}.

          for (const num of numbers) {}.

          for (const num in numbers) {}.

          this.numbers].forEach(num => {});

          Also don’t forget ngFor and @for in html, and then the @for in sass/scss.

          That’s 7 different for loops and I haven’t included the non-for loops, or even left Angular.

          Once we include some scripting like I did just this week:

          bash: for i in {1…5}: do … done

          dos: for /L %%i in (1,1,5) do ()

          Then you can just stfu if I feel the need to remind myself of the exact syntax for one of the 3 or 4 different for loop options in c#.

        • Reptorian
          Codestin Search App
          Codestin Search App
          Codestin Search App
          2
          ·
          9 months ago

          In G’MIC, there’s repeat(num_of_iters,_var_name,code();); on JIT code, and repeat code_block done outside of JIT. It has while, for, dowhile on JIT too. Other than repeat, there is only do while, and for which is while outside of JIT.

          Note: _var_name, can be omitted. So, if you need to just repeat a code N times, that can be removed.

        • Test_Tickles@lemmy.world
          Codestin Search App
          Codestin Search App
          Codestin Search App
          2
          ·
          9 months ago

          You must forgive them young Padawan, they still have fucks to give, or have only recently run out. They are still concerned with the “knowing” of things. It is only once you reach a severe and immeasurable deficit of fucks that you can completely let go of your personal pride and ego enough to admit that this shit is fucking ridiculous and you might as well just let Google/AI remember it for you.

  • muhyb
    Codestin Search App
    Codestin Search App
    Codestin Search App
    22
    Codestin Search App
    3
    ·
    9 months ago

    I have no idea how people can use LLM-generated code. In my experience they’re absolutely terrible. However it can be good for giving some insights time to time.

    • FizzyOrange
      Codestin Search App
      Codestin Search App
      Codestin Search App
      6
      ·
      9 months ago

      It’s definitely improving. I thought the same as you but I looked through my recent ChatGPT prompts and it’s actually decent now, at least at simple/throwaway tasks. It doesn’t stand a chance at the niche domains of my actual job.

    • Tamo240
      Codestin Search App
      Codestin Search App
      Codestin Search App
      2
      ·
      9 months ago

      I only use it when I know exactly the code I’m trying to produce, but just saving time if it can write it for me. Somewhere I saw this described as ‘toil’ vs. ‘domain knowledge’, and it definitely reduces toil even if I have to correct it. Anywhere that I wouldn’t know how to correct it, I don’t trust it.

  • ryandenotter
    Codestin Search App
    Codestin Search App
    Codestin Search App
    12
    Codestin Search App
    1
    ·
    9 months ago

    I find that using AI can sometimes help me get the ball rolling. Rather than having a blank page, I have some (sometimes shitty) code that I can start from. I have never used 100% of generated code in production.

    • Mikina
      Codestin Search App
      Codestin Search App
      Codestin Search App
      1
      ·
      9 months ago

      This… Is actually unironically the best argument I’ve heard in favor of AIs so far, that I haven’t thought about.

      Still - the thing you’d be doing instead is feeding money and attentention to AI bros, and that’s probably even worse than any job you could be micro sabotaging.

      • asg101@lemmy.blahaj.zone
        Codestin Search App
        Codestin Search App
        English
        Codestin Search App
        1
        ·
        9 months ago

        Enough micro-sabotage by enough people will in time corrupt the databases enough that people will stop trusting (and at some point stop using) them. It is happening already if reports of deliberate disinformation in the LLMs can be believed.

        • Mikina
          Codestin Search App
          Codestin Search App
          Codestin Search App
          1
          ·
          9 months ago

          I don’t think you need any active sabotaging in this regard. I’m not really worried about the future of LLMs, because we are already at a point of feedback cascade where thanks to LLMs, more and more of content they steal from the internet has been AI generated by them anyway, which will eventually cause the models to collapse or stagnate. And besides, you wouldn’t be able to sabotage at a scale required for this. Thankfully, the spread of fake AI generated websites and content it has enabled is so massive, that it works as well.

          I’m looking forward to that.

  • MadhuGururajan
    Codestin Search App
    Codestin Search App
    English
    Codestin Search App
    6
    ·
    9 months ago

    I often compare vibe coding to lord of the rings. Saruman blocks the fellowship’s path with difficult challenges. So too does solving hard problems in programming. So Gandalf decides they will take the mines of moria (vibe coding). He knows better but does so anyway. The rest of the fellowship naively follows him down (junior devs). Most of the path is just minor hiccups and the juniors fumbling around. But they get to a certain point and things start to get too heated. The hordes of goblins being the bugs introduced by the LLM as they keep changing the code via different prompts. Then they inevitably awaken the Balrog… the monstrous Complexity Demon that was brewing behind the vibe coding sunshine and roses.

  • hubobes@sh.itjust.works
    Codestin Search App
    Codestin Search App
    Codestin Search App
    3
    ·
    9 months ago

    I tried it (Mostly cursor, cline, claude code and the new copilot agent mode) a few times, maybe it will get better at some point but right now I am incredibly slow doing it and the mental load reviewing changes and trying to get it to do what I want is incredibly exhausting.