3 ms·
I’ve been using it every day for a few months (for Typescript/React), and it still astounds me. I can write a comment outlining what I want a function to do, a
by davidbarker 5y ago
I’ve been using it every day for a few months (for Typescript/React), and it still astounds me.
I can write a comment outlining what I want a function to do, and 90% of the time it will generate the code I need (or very close with a couple of small tweaks needed).
Coincidentally, my Stack Overflow visits have decreased by approximately 90%.
- nlh 5y agoI was going to write exactly this and I'm glad you beat me to it (and that someone else is experiencing this benefit). It's obviously not a replacement for a human writing a big program (yet...), but it does a damn fine job of giving you a shell of a function based on a comment. PS - it is also AMAZING with CSS and saves so much time on easy things that I just haven't memorized. "Style the LI so there are no bullet points" and boom...'list-style: none;'
- davidbarker 5y agoGreat to hear we’re having similar experiences. It’s also quite impressive how Copilot will learn from any patterns you’ve typed on previous lines — so when I’m using a certain color name in a variable, it knows that I likely want to use it in subsequent code. Or, more concretely, when using tokens for colors (e.g. blue.50 for light blue, blue.900 for dark blue) it can figure out that I probably want my background to be an x.50 colour and my text to be, say, x.700. So cool!