Why Object Oriented Programming?
Offers the promise of greater code re-use by allowing a
new classof objects to be "derived" from an existing
class, instead of being written from scratch.
The crisis in software engineering
It is becoming too expensive to maintain old software for
older machines using out-of-date specifications that
were appropriate for limiting languages.
A rule of thumb in software engineering is:
As the size of a project doubles you need four times as
manyprogrammers, in order to complete the task in
the same timeJobs, jobs, jobs!
The crisis occurs because the size of large programs
doubles every 2-5 years.
For example, rumor has it that programs like MS Word and
WordPerfect currently require 20-30 people to produce
a new version a year, and that these programs are
250-300,000 lines of code.
This may be an underestimate, it is said that the current
version of Excel is more like 5 million lines of code!
Assuming new versions will double in size every 4 years, it
is clear that we will quickly reach a state where, either
nobody will be able to afford to write the next version,
or it will take 4 times as long to produce another
version with the same staff.
|