Home > Articles > Software Development & Management > Object Technology

Selecting and Setting Up an OO Project

In this chapter from his book Surviving Object-Oriented Projects, Alistair Cockburn discusses selecting and setting up an OO project, including purpose, people, technology, and training.
This chapter is from the book

This chapter is from the book

Your first OO project: not too big, not too small, not too important, not too unimportant. What does this mean? The project should either deliver value directly or show you how the company will react to object technology. It must fit the history, temperament, and capabilities of the company.

Consider two extremes, each faulty. On one extreme is a small, test project with just two people. Such a project will be fine for those two people; it will improve their résumés. But it is unlikely to show whether the company ought to use object technology because it will not characterize your situation. People are unlikely to pay attention to the results. On the other extreme is a company-critical project as a first project. It can be done, but the risks are high, so you must take special precautions.

Your first OO project should be selected to reveal how the technology will be used and what problems you will encounter. It should be important enough to be noticed, but not so critical that the risks are deadly. Because all rules have exceptions, here are four complementary guidelines:

  1. A project designed to get as much done as possible quickly should consist of two people, to avoid the communications difficulties that accompany OO projects.

  2. A project to investigate the technology should have at least four people on it to reveal some of the communications issues that accompany OO projects.

  3. A project to decide whether to shift the entire company to object technology must be serious enough that completion, or failure to complete, is a significant event to the company. Otherwise, its success or failure will be inconclusive.

  4. A project, the failure of which would be disastrous, needs special precautions and backup measures. It should not be allowed to fail because of neglect, poor management, or insufficient funds. That would be a triple blow: the failure of the project, the failure of the management involved, and a failure to master the technology.

The best first step is to set up the project well. The next sections go over topics you should address before you get underway: selection of a suitable project and establishing its purpose; selection of staff, language, and tools; evaluation of the need for training and advice; and legacy issues.

PROJECT SUITABILITY

Judging by the project histories I have collected, project success is not linked to "suitability to object technology." OO projects that did not appear naturally suited to object technology have been successful (see the Brook-lyn Union Gas story in Chapter 2), and "naturally suitable" projects have failed from obviously poor management. Yet it is still useful to characterize whether a project is naturally suited to object technology. I consider a project more naturally suited to OO if the following apply:

  • The system will be extended by variations on a theme.

  • Objects obviously give a significantly simplified program structure.

  • The design relies on memory-management features of the OO language.

Suitability becomes relevant in answering the far more important question: How soon will the new technology pay for itself? A simplified program structure reduces the cost of maintenance. OO mechanisms allow variations on a theme to be added by programming just the differences, which creates a dramatic cost savings.

Variations on a Theme

Certain types of programs grow internally in similar ways. The simplest example is a drawing program: All the shapes need to be created, sized, moved, and colored, although each is done in a slightly different way (think of polymorphism—see Chapter 1). The program evolves by programming the simple shapes first. Over time, you add the more complicated shapes, taking advantage of the existing program parts.

Rapid variation provides a critical competitive edge. For example, rapidly varied sales promotions and rapid response to competitors' promotions make promotion modeling a natural for object technology. Finance companies compete on creation and variation of financial instruments. Insurance companies compete on slight variations in target population, insurables, benefits, payments, and so on. If you can identify critical themes in your business that vary rapidly, you have found the place where object technology can pay for itself the quickest.

Simplified Program Structure

Almost every program can benefit to some extent from being packaged around classes. Simulation of physical systems is an obvious candidate. In a traffic simulation, it makes sense to have program elements centered around cars, roads, lights, and the like.

User-interface programs of all sorts benefit from attaching program logic to the objects on the screen. Pert charts, computer-aided design (CAD) programs, graphical displays of train schedules, and routing programs are examples.

Sometimes the data being used within the program is very diverse: Multimedia programs manipulate text, voice, shapes, and video streams; geological systems manipulate seismic data, pressure readings, and spectrographic data. These programs are a natural fit with object technology because it is most convenient to co-locate all the program parts that manipulate a particular data type.

Repeatedly, people report that their OO programs better localize design decisions, making it easier for the program to evolve (see Tom Morgan's Eyewitness Account in Chapter 2). Is this, perhaps, because they were able to design the system from scratch, with the benefit of hindsight and advancements in the software field? My experience is that few IS developers are trained in encapsulation. Many students have commented during object-oriented training that encapsulation considerations are new to them. They need classroom training, plus the enforcement from the OO language, to change their design habits.

Memory Management Features

Occasionally you will encounter a program that can take dramatic advantage of one particular language mechanism. One project I encountered was to implement a communications protocol; it paid for the use of C++ simply by its ability to handle data buffers. A message arriving at a network point gets put into a buffer and passed across different protocol layers. Allocating, handling, and freeing those buffers is both prone to error and hard to fix. The project leader said that the constructors and destructors of C++ simplified programming enough to pay for the entire move to object technology. Although it is unusual, you may recognize when you are in such a situation.

What Is Not Suited?

It is hard to answer, "What is not suited to object technology?" Recall that object technology is fundamentally a program-packaging technology that permits a continuum of function-only and function-plus-data packages. It is therefore not inappropriate to any particular type of system. Objects have been used in oscilloscopes, payroll systems, CAD systems, user interfaces, and banking and insurance systems.

The question really is, "When is it not worth the cost to retrain your development staff in OO?" This is easier to answer. If your system serves its purpose, keep using it and avoid the training costs and general agony of shifting to a new technology. The average CRUD (create/retrieve/update/ delete) application, which reads and writes data to a database, is nicely served by current application generators. Some CRUD systems are being rewritten in objects, but many organizations choose not to make the shift just for this kind of application.

If your current way of building software is causing you difficulties, try to find a project with one of the natural affinities to object technology, as just described. Aim to offset the training costs with a gain in time-to-market or maintainability.

Make sure the system is worth the cost of training the people.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020