GitHub Copilot is kinda ass

I recently got access to it and I've been playing around with the tool.

>"make text with ID 'rainbow' randomly change color"
>that's the solution to it

it does work but it could be alot more elegant.
that holds true for most of the code written by co-pilot. it's "okay" but could be way nicer

I feel like AI won't be replacing programmers for a loooong time

Thalidomide Vintage Ad Shirt $22.14

Ape Out Shirt $21.68

Thalidomide Vintage Ad Shirt $22.14

  1. 2 years ago
    Anonymous

    Doesn't that sorta make sense?
    The Ai isnt actually intelligent and trained off of the programming of mediocre programmers.

    • 2 years ago
      Alexander

      It does make sense but I was hoping that with the amount time and undoubtedly money that was put into copilot they'd have labeled the data by how "good" it is. perhaps execution speed or whatever the frick you could use.

      I'll still use it it's just not much better than my own code.

      • 2 years ago
        Anonymous

        That's the point, you use it to skip boring repeating patterns of code. It can't, by definition, come up with solutions never thought before

        • 2 years ago
          Alexander

          Yeah that makes sense. Still really cool though
          Now I don't have to look up what the current cool way to center a div is! (We truly live in revolutionary times)

          • 2 years ago
            Anonymous

            Yeah, but is truly good for examples like that. Usually it's smart enough to figure from where you're fetching data, which props your passing to a component, it'll figure out a style that is consistent with the application, it can understand how you should validate content from an input, validate request body, it can understand how you want to query a database, things like that... None of that is hard, you're generally tired of doing it over and over and those are the tasks copilot will have more confidence on taking the steering wheel, just like a ...copilot?

  2. 2 years ago
    Anonymous

    >he thinks it not looking elegant is a prerequisite for being replaced entirely by a cheap, zero bullshit bot
    lmfaoing @ ur underdeveloped, hopeful brain

    • 2 years ago
      Alexander

      >make AI
      >it has the possibility to write objectively good code
      >dosen't
      and yet ~~*they*~~ claim it'll replace humans!!!

      • 2 years ago
        Anonymous

        >you just know

      • 2 years ago
        Anonymous

        >>it has the possibility to write objectively good code
        It doesn't, because it can't actually understand what the code it's analyzing does. Context is everything and the most it's doing is matching function names.

  3. 2 years ago
    Anonymous

    It'll never replace programmers, chances are they'll enhance programmers work. For example copilot is extremely good at explaining intent and soon they'll be ready to automate documentation. What good programmer would enjoy documenting his API?

    • 2 years ago
      Anonymous

      >It'll never replace programmers, chances are they'll enhance programmers work.
      I think that's what the OP assumed, and he says it's kind of shit even at that.

    • 2 years ago
      Anonymous

      >What good programmer would enjoy documenting his API?
      I do because I'm not a socially impaired asswipe

      • 2 years ago
        Anonymous

        you're not a programmer then. if you have enough time to spend on documentation maybe you should stop writing shit code and documenting every line and instead try to write self explaining code

        • 2 years ago
          Anonymous

          >if you have enough time to spend on documentation
          It's a requirement because unlike you I'm paid to do this for a living with co-workers. Also, if you aren't documenting your own code good fricking luck finding employment.

          • 2 years ago
            Anonymous

            i use OpenAPI plugins and such for my work and try to write self explanatory code which results in my OpenAPI spec being good for customers.

            commenting every line isn't documentation. writing good code is.

  4. 2 years ago
    Anonymous

    i mean that's pretty good but obviously scrapped from some stackoverflow thread it's not really creating anything

  5. 2 years ago
    Anonymous

    AI is so lame
    need a supercomputer to crawl the web, save everything in a bloated database and copy paste pictures or text

  6. 2 years ago
    Anonymous

    >there will be a generation of "programmers" who just uses tools like copilot to create entire applications and systems
    if you guys thought web dev was bad, holy shit imagine the mess this insanity is going to produce

  7. 2 years ago
    Anonymous

    Oh no its no ElEgAnT

    You homosexuals are being replaced before 2040

    • 2 years ago
      Anonymous

      you're a dumbass. if the "AI" writes subpar code and doesn't have a mind of its own, it's not replacing anyone.

      there's also the vital part in programming where customers generally don't know what the frick they want so you need to translate their bullshit requirements into actual code. good luck teaching an "AI" how to code "the next Facebook billion dollar idea with cryptostonks"

      please have a nice day, you're a waste of oxygen

      • 2 years ago
        Anonymous

        I mean if AI is going to replace anything is coding don't kid yourself.

        • 2 years ago
          Anonymous

          it could do so already. why hasn't it? maybe there is a business opportunity there for you, homosexual

          • 2 years ago
            Anonymous

            Sure, I'd just hire a bunch of fiverr pajeets and have them write boilerplate code samples on the usual stuff people ask them to make to feed into the AI instead of scraping github lol

        • 2 years ago
          Anonymous

          it can replace certain tedious aspects but there's a lot more to coding than just writing code. i'm not a homosexual and won't say coding is art but it does require both hemispheres of your brain to write code as it is both a creative and logical task. issue with AI is that they have so much information, so much data but won't be able to make decisions for themselves. that's the biggest AI redpill there is - that current age AIs are just incapable of making any sort of decision. all they have is data, and the developer often tells what to do with that data. there is no magic AI that is as smart as a human or that is capable of making their own decisions. in it's core the current AI/ML industry is comprised of grifters taking advantage of math formulas created in the 70-80s to handle big amounts of data. AI is not the future.

        • 2 years ago
          Anonymous

          >I mean if AI is going to replace anything is coding don't kid yourself.
          The software i write has constantly changing parameters that require understanding the goals the customer needs, and the customer is frequently poor at communicating those needs. This isn't a sorting algorithm.
          What's the last big project you've worked on?

  8. 2 years ago
    Anonymous

    what if you replace "randomly" with "dinamically"?

    • 2 years ago
      Alexander

      It made a function but now I have to pass it the color. (makes sense)

  9. 2 years ago
    Anonymous

    it won't replace a shit, but future programmers code will be autogenerated, even more unoptimized and bloated than nowadays. Future is dark for software stuff

  10. 2 years ago
    Anonymous

    I asked it to write a function to mirror the vertices horizontally in .OBJ data for JS, Python and PHP supplying the same function name for each. It gave 3 separate algorithms: the JS version was perfect except that it mirrored on the Z axis instead of the X axis (correct 2 lines of code), the Python version flipped all 3 axes (remove lines pertaining to Y and Z axes), and the PHP version simply did search and replaces for all .OBJ keywords -- with themselves yielding no net change to the data.
    Copilot isn't doing any kind of algorithmic thinking, it's just matching function names regardless of how useful or brain dead useless the code it finds is.
    And MS wants me to pay a subscription fee for this level of moronation.

    • 2 years ago
      Alexander

      They make you pay for it?
      I got it for free mfw

  11. 2 years ago
    Anonymous

    It's cool, but mostly useless. It can create small solutions for clear problems, but those still have to be reviewed and possibly corrected and optimized by a programmer, so it's faster to just write the code yourself.
    Also it can't do the hardest part, which is putting all the "small solutions" together in a coherent way to actually get what we call an application, software that works and does the thing we want it to.

    I guess you could go step by step, file by file telling it what to do and reviewing to make sure it's correct, but at that point you're doing most of the work anyway, so why bother.

  12. 2 years ago
    Anonymous

    since you're so competent, how would you make it more "elegant"?

    • 2 years ago
      Anonymous

      Make an AI with simulated neurons that starts out as a baby and then learns as it grows up.
      Its not my job its your job if you're an AI researcher.

      • 2 years ago
        Anonymous

        I meant the actual JS code it produced. Provide your more elegant solution.

Your email address will not be published. Required fields are marked *