08.05.2012, 01:25
This is why coding cleanly and efficiently is important and why it should be stressed so much to people who are creating big gamemodes with big aspirations of keeping it going for a long time. The more you code inefficiently, the messier it gets and eventually it's going to be impossible to keep up with all of it.
It also is a good idea to put some comments in there if you plan on stopping the process of committing code to your project for a while, so you can remember why you put something where you did and what it means.
That also ties into using proper naming methodology and being consistent in your naming conventions.
When you have enough experience you'll be able to spot inefficiently quite swiftly and if you're thinking to yourself "there must be a better way of doing this", there probably is.
It also is a good idea to put some comments in there if you plan on stopping the process of committing code to your project for a while, so you can remember why you put something where you did and what it means.
That also ties into using proper naming methodology and being consistent in your naming conventions.
When you have enough experience you'll be able to spot inefficiently quite swiftly and if you're thinking to yourself "there must be a better way of doing this", there probably is.