Thread: [Engine] Pokemon Java Engine
View Single Post
  #12    
Old February 13th, 2013, 12:22 AM
Hexogene
Unhatched Egg
 
Join Date: Oct 2010
Gender: Male
Thanks for your reply

I've obviously not seen your code and I'm not a fully trained programmer (yet), however I have a little suggestion which might save you from a lot of trouble in the long run. During my own projects, I made a bunch of mistakes which could've easily been avoided and are able to ruin the fun very fast.

The temptation to hardcode stuff to make something work quickly is great and it can create huge bugs later on in development. Removing hardcoded components can be very difficult and often results in overlooked remainders of outdated code. Object oriented programming is perfect for moving test code outside of your actual code and thus helps in avoiding such errors.