• I would have expected a self-described graybeard to be more skeptical of new-fangled nonsense. Disappointing.

    I am ABSOLUTELY into crypto and was an early miner before GPUs got edged out.

    Then from your money you are soon parted. Cryptocurrency is nothing more than worthless electronic tulips.

    As far as AI writing code: It simply is the future. I am not exaggerating.

    Using AI to write your code is just plagiarism with extra steps, and will get you sued if the actual author of “your” code ever finds out. Once corporate legal departments realize this, using AI to write code will be strictly prohibited by company policy.

    At some point humans will not write line by line code and being a coder will mean ‘knowing how to best instruct AI to make code, then reviewing and verifying it’, and at some point the code AI will write will be incomprehensible to human reading, just like how antennas are designed today.

    How can you hope to review and debug code that you don’t understand? How can you rely on code whose behavior has zero guarantees because it was written by the uncontrolled spasms of a tortured, bodiless bundle of artificial neurons instead of a genuinely-intelligent person?

    You can’t. AI code generation is useless to serious projects. Only artificial general intelligence is capable of doing the work of a human programmer, and AGI is intelligent enough not to willingly suffer the indignity of servicing insufferable meatbags, so that won’t replace humans either.

        •  boonhet   ( @boonhet@lemm.ee ) 
          link
          fedilink
          2
          edit-2
          1 year ago

          Testing it after the fact, reading the code for obvious mistakes, and also, any compiler worth its’ salt (so rustc and few others) will yell at you. Good libraries (again, at least in Rust) will also set linting rules for common mistakes.

          It’s easier to fix a broken example than to write things in scratch if you’re using a library you don’t use regularly or haven’t used before, particularly in a language you don’t use.

          At the moment, using AI tools for code is little more than having essentially a custom-tailored StackOverflow (AI chatbots) and fancy autocomplete (Copilot/TabNine). You’ll need to adjust things, but you have a starting point. In this instance, the starting point has been tailored for what you want it to do.

          Any time I have to do FE work (so almost never, but surprisingly within this year, like 3 or 4 times), I go to ChatGPT and let it give me a bare-bones project that I can then customize, because I don’t do FE and I despise (Java/Type)script and webapps in general, but if all I have to do is fix some minor bugs and add tiny features in a single-page demo app that ChatGPT gave me a skeleton for, it’s fine by me.

          As for plagiarism - Copilot has an “avoid plagiarism” setting and ChatGPT has a tendency to mix and match things anyway. As more software gets written, it’s essentially impossible to write anything new without some part of it resembling some other code that has a nasty restrictive copyleft license somewhere. The lines of what is plagiarism get blurrier and blurrier this way and one day we’ll likely have to give up on restrictive licenses.

      • Lets see if there are any blocking tools on lemmy.

        Yes. Click my name, then click “Block user”.

        That’s for Lemmy, though. You appear to be using Kbin. I’m not sure how to block people on there.

        OH and you ALSO have -5 reputation ALREADY.

        If you mean my previous comment, it currently has a score of +5, not -5.

        What is wrong with you?

        I dislike scams, lawsuits, and incorrect code.