Pros:
- AI-generated code can free coders from routine tasks, such as writing boilerplate code.
- It's great for formatting, refactoring, and suggesting improvements.
- It's excellent at writing comments based on code.
- It's efficient at converting from one language to another, e.g. objc -> swift or Swift -> SwiftUI.
- It's helpful when writing code that you can't remember in detail but know how to do at a high level. Saves you a trip to StackOverflow 😅
Cons:
- It's not great at architecture or structure yet. You still have to do something yourself 😏
- It can only reason about a limited amount of code at a time due to memory limitations.
- Sometimes, you have to be specific about what you want to get the desired results.
- You have to store the best prompts somewhere. I store mine here:
https://gist.github.com/eonist/2....
Conclusion:
- Using an AI code editor is worth it. It's a powerful tool to have in your arsenal.
- It will only get better from here, understanding more, making better suggestions, and becoming smarter at understanding what you want.
I'm curious about how you use AI code editors. Which AI code editor are you using or still on the fence? Share your thoughts down bellow 👇
Sol-A.