News for hackers. Stuff that matters.
Re:Build your own GitHub Copilot with Salesforce CodeGen AI ... by petercooper on Thursday June 30, 2022 @05:26PM (#31938836)
It's good, but as a Rubyist, I find it generally picks the most common solution to problems rather than the best one. Get it to tally the contents of a hash, for example, and it doesn't reach for Hash#tally at all, but the long "manual" way of doing it. So it makes me wonder if I'm encountering a Gell-Mann type effect with languages I'm less familiar with..
Re:Build your own GitHub Copilot with Salesforce CodeGen AI ... by shreyshnaccount on Friday July 01, 2022 @09:32AM (#31946101)
I've noticed this too, but working with pandas and python for data related things. it almost always produces non-optimal code that is surprisingly popular- just the other day it wanted to make a copy of a large file instead of a view. turns out a lot of beginner courses don't teach about copy vs view because they use small toy datasets and its not a problem. also, this throws a warning too!