[HN Gopher] GitHub Copilot's Code Brushes
___________________________________________________________________
GitHub Copilot's Code Brushes
Author : azhenley
Score : 22 points
Date : 2023-01-14 19:23 UTC (3 hours ago)
(HTM) web link (githubnext.com)
(TXT) w3m dump (githubnext.com)
| satvikpendem wrote:
| I've used a few of these but to be honest they're worse than
| ChatGPT, and they're almost nigh useless. I'm not sure what model
| Microsoft is using because they own half of OpenAI now, they
| should integrate the ChatGPT model instead of the older Codex
| one, it seems.
| teg4n_ wrote:
| The example for the "make more robust" brush puts the prefixed
| css properties at the end which is the opposite of what you
| should do...
| Nullabillity wrote:
| "Make more readable" looks awful too, the correct output
| would've been something like: (a == null || b
| == null) ? NaN : a < b ? -1 : a > b ? 1 :
| a >= b ? 0 : NaN;
| jerkstate wrote:
| I've been experimenting with this kind of thing lately, but what
| I've found more useful is the "edit" mode in the openapi
| playground. You paste your existing code in there, give some
| instruction, then submit, and it seems to do pretty well. I'm
| hoping that the next generation of Copilot will be able to make
| use of this, as sort of "dynamic brushes"
___________________________________________________________________
(page generated 2023-01-14 23:02 UTC)