Why use object-oriented programming?
This question opens a debate much larger than can be answered here. If you haven’t already heard the rantings of an OO evangelist. Some of the main reasons include § • Your customer (or boss) requires an object-oriented solution • Deconstructing problems is offend easier in terms of objects • OO lends itself well to maintainable, flexible code • OO tends to be better for very large applications • OO promotes more up-front solution design • OO projects tend to be easier for large number of developers • OO projects tend to be more sustainable long term There are some very supported reasons not to use OO to address a specific problem none of which is § OO sucks OO is flawed I have never tried OO I don’t know OO OO is always slower § • Why use Perl for object-oriented programming? Perl doesn’t even get a mention in most OO programming comparisons, which is really too bad. Perl can be one of the strongest, most efficient languages to code OO final or prototype code. Even if your shop is har