Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you describe the structure of your conversation? Did you describe what libraries you were using and send the full code of the main app component?


I started with a pretty simple prompt: "I am building an app using Expo, React Native, React Navigation, React Query, Nativebase, Google Maps and lodash. Expo exports the app for web, iOS and Android. The purpose of the app is to view data related to <specific domain> on a map. The data comes from an internal API."

And then just started asking it questions about each task I was trying to complete. Often I say, "Here is my code in MyComponent.jsx: <paste code> I want to implement <describe feature>. How can I do that?" and GPT will usually respond with tutorial-like steps to take, or sometimes just with the code for a function it thinks I should implement. I read what it suggests, paste it, modify it if necessary, try it out, adjust and repeat.


here is one I used for teaching girl scouts to code:

chat gpt build me a pong program using Ruby2D. It built one but it had some problems

The ball goes through the paddle, please fix that. Then it wrote a collision detection routine for the paddle.

The game has no way to restart. Write code that restarts the game with the space bar. It then did that

Have the game keep score and have the game end at 11 points.

etc

For marketing I did something like

tell me the top problems that CIOs of companies that lease equipment run into with their leasing automation software.

It gave me a relatively generic list.

Which ones of these do CIOs report is the most important.

Integrations

Can you elaborate on the top software that that leasing automation software needs to integrate with. It gave specific software.

etc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: