-
Book Overview & Buying
-
Table Of Contents
Android Programming for Beginners - Fourth Edition
By :
In this section, we will learn strategies for maintaining control over our codebase. If we repeatedly make code additions and changes without understanding the code or accounting for structural changes, it will soon cease to be our project. Once this happens, troubleshooting and future prompting become harder and more doomed to failure.
Next, we will copy the code for the Alien class and paste it into your favorite chatbot in a web browser, along with a prompt. We will keep this discussion separate from the AI building our app, so it doesn't misinterpret any future instructions based on the prompts we give it to improve our learning (and it will save us a few tokens).
Note that this is meant to be a repeatable exercise for you to learn about code that you generate in the future. If you are not interested in the new Alien code, just observe the process or pick a different code that interests you.
I prompted ChatGPT with the following:
"Tell...