When object-oriented programming (OOP) became popular, one of the things it promised was code reused everywhere. Service-oriented architecture (SOA) also promises code reuse. Every new system out there seems to have code reuse on its bullet point list of wonderful things it enables. Yet it seems as though most code — even reusable code — never gets reused, unless it is a fairly generic component such as a screen widget or a math library.
I almost never try writing code to be reusable since nearly every project I work on is completely unrelated to my other projects, and the effort involved is often more than it would be to rewrite the code again. Take this quick poll to let us know whether you really use reusable code.
J.JaDisclosure of Justin's industry affiliations: Justin James has a working arrangement with Microsoft to write an article for MSDN Magazine. He also has a contract with Spiceworks to write product buying guides.
———————————————————————————————————————————-Get weekly development tips in your inbox Keep your developer skills sharp by signing up for TechRepublic's free Web Developer newsletter, delivered each Tuesday. Automatically subscribe today!
Related Topics:CXO Microsoft Google Open Source Software Tech Industry
Justin James is the Lead Architect for Conigent.