Maybe it is
asks for password hashing
gets code that looks like password hashing, named like password hashing, but, without any of the hashing
But it has better performance
I’m not understanding the CoPilot hate. It’s an amazing tool if you are competent. Even when it gets it wrong it still saves me 90%+ of the typing then I just correct what it did differently than how I want it.
Boilerplate becomes a breeze and I work way better when I have something to iterate on rather than coming up with it from scratch. It lets me play with and test ideas way faster and sometimes even does it differently than I’d do it which leads to learning new things and/or looking at the problem in a different way. I don’t blindly follow its output, sometimes I reject it wholesale, sometimes I edit it, sometimes it’s literally exactly what I would have typed myself.
Isn’t that basically how it works?
Just add an additional group of monkeys that aggressively hires and fires the others based on performance
Tada, machine learning
It was the best of times, it was the blurst of times!
Because we are the apes that wrote the code that copilot read.
Tbh, copilot was probably the worst AI coding experience I’ve had. It actually made me less productive and made me question my competency as a programmer at the same time. Straight up did not have a good time. Use Cody or GPT-4 instead.
But the propaganda from GitHub said it was making devs 80%+/- more productive!
How could this have happened? /s
It is designed for other purposes than GPT models. Next time try to use copilot as autocompletion, not to generate new code. It’s excellent in that.
That’s how I was using it; I ended up spending as much time as I was saving going around and cleaning up after it and/or second guessing myself. Basically, because it only operates in the context of the file you’re working in, it will suggest garbage half the time if you have to work with resources from other files.
From the docs:
GitHub Copilot analyzes the context in the file you are editing, as well as related files
Tho, I don’t know if it allways been that way, maybe they added bigger context later