|
|
|
|
|
by cschneid
956 days ago
|
|
Can I ask for a real example of it? I'm a senior dev, worked in software for ~18 years now. We work in a medium to large sized Rails codebase, with some idioms for things like logging and error handling that have been built over time. We mostly deal with detailed business logic. I have really wanted to like AI assistance, but I can't figure out when it really helps. I'm an expert at ruby already, a targeted google search is faster than asking when it comes to an api I know exists, and I just need the order of arguments. It generates annoyingly "wrong" code, since it doesn't know our idioms. Copilot is basically just a context-aware one line autocomplete. I can't figure out how to use it for more. |
|
You have to read every line and character it suggests, but even so, it saves time.
It has also helped me while learning Typescript. As a beginner, it wasn't/isn't always clear to me how to find the types I need to use in third-party libraries like the Firebase SDK, and generating the code via Copilot and then finding the types it references helps me work backwards to understand where the types are declared. Sometimes, working with Copilot is like having documentation with tailor-made examples. Sometimes it's just wrong, though, so it's a mixed bag.