Several times, I have found myself to work on several different projects each with their custom CMS and with custom features. Although some of these websites share some of the same features or a class object that I have already premade in the past, many of which I tend to rewrite instead of just uploading the premade file itself. Many of you may argue with me but there is a reason for this. As like any developer, when working on new projects, you tend to have more knowledge and change your style and techniques of coding and organization. I think that that is the sole reason as to why I tend to recode a new class that does the same thing instead of reusing an old class object.
Although I do sometimes just straight out reuse an old class object script I have create in the past, those objects usually span more wider in terms of usability such as creating a mysql object, or a PHP session object that handles specifically one thing but can be used in other objects.
My question to you is, how many of you out there find yourself spending a portion of your time rewriting old scripts to fit your current programming style and why?

