• 0 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: April 30th, 2024

help-circle
  • Not every program is written for spacecraft, and does not net the critique level of safety and efficiency as the code for the Apollo program.

    I don’t even know. If memory issues are your issue then using any program with safe memory embedded into it is the way to go. As most things are actually made right now. Unless you are working in legacy applications most programmers would never actually run into that many memory issues nowadays. Not that most programmers would even properly understand memory. Do you think the typical JavaScript bootcamp rookie can even differentiate when something is stored in the stack or the heap?

    You are talking like every human made code have Linux Kernel levels of quality, and that’s not the case, not by far.

    And it doesn’t need to. Not all computer programs are critically important, people be coding in lua for pico-8 in a gamejam, what’s the issue for them to use AI tools for assistance?

    And AI have not existed before a couple of years and our critically important programs are everywhere. Written by smart humans who are making mistakes all the time. I still do not see the anti-AI point here.

    Also programming is not concrete, and AI is not sugar. If you use AI to create a fast tree structure and it works fine, it’s not going to poison anything. It’s probably be just the same function that the programmer would have written, just faster.

    Also, not addressing the fact thar if AI is bad because it’s just copying, then it’s the same as the most common programming texhnique, copying code from Stack Overflow.

    I have a genuine question, how many programmers do you think that code in the way you just described?


  • You can actually apply those tools and procedures to automatically generated code, exactly the same as in any other piece of code. I don’t see the impediment here…

    You must be able to understand that searching by name is not the same as searching by definition, nothing more to add here…

    Why would you care of the shit code submitted to you is bad because it was generated with AI, because it was copied from SO, or if it’s brand new shit code written by someone. If it’s bad is bad. And bad code have existed since forever. Once again, I don’t see the impact of AI here. If someone is unable to find that a particular generated piece of code have issues, I don’t see how magically is going to be able to see the issue in copypasted code or in code written by themselves. If they don’t notice they don’t, no matter the source.

    I will go back to the Turing test. If you don’t even know if the bad code was generated, copied or just written by hand, how are you even able to tell that AI is the issue?


  • Any human written code can and will introduce UB.

    Also I don’t see how you will take more that 5 second to verify that a given function does not exist. It has happen to me, llm suggesting unexisting function. And searching by function name in the docs is instantaneous.

    I you don’t want to use it don’t. I have been more than a year doing so and I haven’t run into any of those catastrophic issues. It’s just a tool like many others I use for coding. Not even the most important, for instance I think LSP was a greater improvement on my coding efficiency.

    It’s like using neovim. Some people would post me a list of all the things that can go bad for making a Frankenstein IDE in a ancient text editor. But if it works for me, it works for me.



  • That’s why you use unit test and integration test.

    I can write bad code myself or copy bad code from who-knows where. It’s not something introduced by LLM.

    Remember famous Linus letter? “You code this function without understanding it and thus you code is shit”.

    As I said, just a tool like many other before it.

    I use it as a regular practice while coding. And to be true, reading my code after that I could not distinguish what parts where LLM and what parts I wrote fully by myself, and, to be honest, I don’t think anyone would be able to tell the difference.

    It would probably a nice idea to do some kind of turing test, a put a blind test to distinguish the AI written part of some code, and see how precisely people can tell it apart.

    I may come back with a particular piece of code that I specifically remember to be an output from deepseek, and probably withing the whole context it would be indistinguishable.

    Also, not all LLM usage is for copying from it. Many times you copy to it and ask the thing yo explain it to you, or ask general questions. For instance, to seek for specific functions in C# extensive libraries.


  • Plenty of good programmers use AI extensively while working. Me included.

    Mostly as an advance autocomplete, template builder or documentation parser.

    You obviously need to be good at it so you can see at a glance if the written code is good or if it’s bullshit. But if you are good it can really speed things up without any risk as you will only copy cody that you know is good and discard the bullshit.

    Obviously you cannot develop without programming knowledge, but with programming knowledge is just another tool.







  • daniskarma@lemmy.dbzer0.comtoProgrammer Humor@lemmy.mlEvil Ones
    link
    fedilink
    arrow-up
    24
    arrow-down
    2
    ·
    edit-2
    4 months ago

    Nothing says language of the year better than a language that needs to be compiled to an inefficient interpreted language made for browsers and then grossly stuffed into a stripped out Chrome engine to serve as backend. All filled with thousands of dependencies badly managed through npm to overcome the lack of a standard library actually useful for backend stuff.







  • I also try to use the feminine as neutral instead of masculine. -Note: I’m Spanish so our language is heavily gendered- Mostly because I think that sounds better than the trend of using a newly introduced neutral gender that sounds terrible because Spanish language never had neutral.

    Also if someone gets angry for that I have always the reply “now you know a little on how women fell during all story”

    But still, neutral and inclusive language is still too new and far away from normalization to get mad at people on how they use it or not use. And if you are not deadnaming or deadgendering (is that a word?) you are not really hurting anyone.


  • Jumping to transphobic and misogynistic for not wanting to use inclusive language in some repo documentation is a big jump. He didn’t ever dead named anyone or refuse to use some person preferred pronoums. Its just not wanting to use inclusive language on documentation. Most, if not all, documentation I have ever read in my life don’t use the newest trend of inclusive language.

    By they way accusations were written it seemed like devs were actually exposing hate speech or something like that.

    Let’s not be like that, ok? At least I choose not be like that. You can destroy people lives with such accusations over basically nothing, be better.

    I know that we are near Americans elections as it always makes the whole internet jumping, and throwing knives to find “the enemy”. But it could be as simple as inclusive language might be confusing for non english speakers, or might the trend change over time and it’s just a bother to keep updating with the lastest trend. Do you know how many versions of inclusive language did we have in my language? We started using ell@s, then ellxs, then ellos y ellas, then elles, then ellos, ellas y elles. It’s too volatile and little to be that mad over it. Specially when there’s people out there who truly hate anyone who is not a cis str male and is doing true hate speech over that.

    If there’s more evidence of devs being evil, I will aknowledge it. But for such a little inconsequential thing (again it’s not even being against someone chosen pronoums, it’s just general documentation) I refuse to spread hate towards other human being.