2 ms·
I’ve been using copilot for 2 months. I’ve past the free period. I decided I would conti ue to pay for it. Last week I found out my company would pay for it to!
by colinrosati 4y ago
I’ve been using copilot for 2 months. I’ve past the free period. I decided I would conti ue to pay for it. Last week I found out my company would pay for it to!
My stack it TS, Vue, Nuxt app.
Copilot is great for tests. I write the assertion and copilot completes the mocked data unit testing the function.
Copilot is also really good and large tedious refactors. Updating some dependency’s with breaking change and you have to do 100+ file change in a similar way. After you have the new pattern figured out the autocomplete is a massive time saver.
Also saves times on making types!
Cons
Declares vars, properties names wrong. Ex if you have 2 properties in an object (isOpen, isFinished) and you are making some type for it. T
he autocomplete can be wrong.
It would suggest isOpen and isClosed instead of following the names provided. Seems like a minor naming pattern that is weighted over other inferences.
So the con is that while writing code you would need to check variable names, properties are declared correctly. Overall it’s small effort that I might have to do anyway during a development.
I also have dyslexia so any linting, TS checking and now copilot takes burden off my error prone writing
- bombolo 4y agoI'm so glad to read that so much code is soon going to become open source :)