Outline the Game
Letâs think about how we can organize our code. To have made it this far in the book, youâve written a lot of code. At times, it must have gotten difficult to move through the code to see what youâve done. Youâre not the first programmer to run into this problem, and you wonât be the last. Thankfully, you can learn from the mistakes of programmers before you.
Keep Your Code Organized | |
---|---|
Programming is hard enough on its own. Donât make it harder by writing messy code. Organizing code doesnât matter too much with short programs. But code grows as new stuff is added. Organized codeâindented and with functions defined ... |
Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.