|
Re: writing reusable code / preparing for the future
Thta how you should ALWAYS program imo. Of course you might have to adjust it abit but I doubt you would have to adjust it at all if you code it right. Like make the code generic and not too specific. Like make a class for imaging if you are going to do something with that, you can make a location/coordinate/vertex class if you want to do some lacation stuff. There are tons of generic classes you can make that can be benefitial. Hell you can even make your own library if you want.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
|