Steps
- Paste in the code.
- Ask for a review.
- Fix it and test again.
Review this code for bugs, edge cases, and security problems. Explain each issue and suggest a fix: [paste]Tools
- Gemini
Source
hn ·
Related use cases
Software & DevOps
Build a small desktop app to send files to a CNC machine
A hobbyist asked Gemini Pro for a Python Qt app that sends g-code files to a CNC machine or laser cutter, and it runs on Windows, Mac, and Linux.
Caution. Test machine tools carefully.
Software & DevOps
Build your first Android app
With no Kotlin experience, one developer built their first Android app with Gemini.
Software & DevOps
Get an overview of a large codebase
Using Gemini's large context window, one developer pasted in a whole codebase and asked it to describe the main data structures and how data moves through.