Manual Refactoring and Code Maintenance: Modernizing legacy code (e.g., Java 8 to Java 17, Spring Boot updates).
Scaling Code Quality: Maintaining consistent code quality and best practices across a development team.
Handling Large Codebases: Navigating and understanding complex codebases with the help of AI.
Unexpected Use Case: Helping developers understand and write Excel formulas.
Demos
New Feature Development: Generating a Flask API for a to-do list app from a prompt.
Code Explanation: Providing detailed explanations of a factorial function.
Safety and Security Considerations
Data and Code Sample Usage: Pro tier users don't have to worry about AWS using their data, but free tier users must opt-out.
Model Updates: Quarterly automatic updates ensure the latest version of Amazon Q.
Scalability: Amazon Q is fully managed, so no need to worry about scaling.
Code Ownership: Developers own the code generated by Amazon Q.
Amazon CodeWhisperer Dashboard
Metrics include user activity, lines of code generated, acceptance rate, percentage of code written, and accepted recommendations with references.
Helps evaluate productivity gains and make a strong business case for using Amazon Q.
Lessons Learned
Establish an AI acceptable use policy.
Implement a robust developer onboarding plan.
Leverage available credits for a proof-of-concept.
Developers become expert prompt engineers over time.
Challenges and Solutions
Handling large files by splitting them into smaller chunks.
Usability challenges with the VS Code extension, now improved with inline code suggestions.
Customization requires a minimum of 20MB of code data.
Personal Experience and Code Transformation Demo
Expectations for modern code style improvements were not met, but this feature has been added to the backlog.
Demonstration of transforming Java 7/8 code to Java 17, including package updates and dependency changes.
Conclusion
Amazon CodeWhisperer boosts developer productivity, creativity, and efficiency, without replacing developers.
AI-paired programming is the future, and developers should embrace the opportunity to upskill and become more capable.
Free access to a related LinkedIn Learning course is available upon request.
Your Digital Journey deserves a great story.
Build one with us.
This website stores cookies on your computer.
These cookies are used to collect information about how you interact with this website and allow us to remember you. We use this information to improve and customize your browsing experience, as well as for analytics.
If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference.