Chapter 9. Debugging and Optimization
PC Load Letter? What does that mean?
The problem with computers is that they're not psychics. They have no idea what you're trying to accomplish. With any programming language, my mantra has always been this: Computers will never do what you want them to do. They will do exactly what you tell them to do. A lot of the time what you're telling them to do isn't what you want them to do, which causes unexpected bugs, errors, even crashes. Knowing a programming language is one thing, but the most important skill in programming is having the critical thinking skills to figure out why a program is broken and being able to fix it. Most of the code you write will not work correctly the first time. Things will break. A lot!
In this chapter we will:
Cover some of the most common errors that you'll encounter while compiling UnrealScript
Take a look at some broken code to see if we can fix it
Use the log to debug and further clean up our code
Use the profiler to minimize...