Docsity

Good Design - Java and the Web - Lecture Slides, Slides of Java Programming

Partial preview of the text

Download Good Design - Java and the Web - Lecture Slides and more Slides Java Programming in PDF only on Docsity!

Good Design

Some Designs are Classics

Answer:

• All your competitors file for bankruptcy

because you took away all of their customers.

So what?

• How do you design great software? Very few

software designers even think about driving

competitors out of business when they design

software.

Why is that stupid?

  • Modeling the existing system almost guarantees that you will reproduce the existing system with some automation.
  • For example, you will probably keep some activities that are unnecessary in an automated system just because they were necessary in a manual system. Your system will be inefficient and overstaffed.
  • You will tend to keep all the problems of the old system and introduce new problems as well!

Example of saving the old

The mechanism that opens a car window was designed to be operated by a hand crank at a comfortable position for a person seated in the car. It is unnecessarily complex due to its off center location and the need to obtain leverage.

A Better Design?

  • With a straight toothed lever, you could use a smaller motor, save weight, save money, use less leverage, and have more reliability and better gas mileage. By saving 10 pounds per car, you could save the equivalent of one car for every 350 cars made.

Actual Power Window Types

Examples from Italian Manufacturer ElectricLife Windows

Scissors type Cable type Bowden type

Disintermediation

• Most of the productivity gains from computers

have come from disintermediation. That is a

fancy term that basically means “cutting out

the middleman.”

• A computer is primarily a communications

tool. Efficient communication allows us to

avoid unnecessary tasks and costs.

Example

  • Most large companies have flattened their hierarchies since automation, getting rid of middle managers.
  • The two primary tasks of middle management were to gather information from subordinates to pass on to upper management and to communicate the policies of upper management to the workers. If communication is automated, fewer people need to do it.
  • That is disintermediation.

Knowledge is power

  • Merchants survive by charging more for goods than they pay for them. It is to their advantage to reduce your ability to know their costs and to shop around and see what their competitors are charging.
  • The Internet has changed the nature of an auto dealership. Now most new car customers know what they want and how much it will cost the dealer before they buy the car. Now car dealers have to make their money where the customer lacks knowledge, on trade-in values, used cars, and the service and parts departments.

Brokers are hurting

  • A broker is in the business of bringing buyers and sellers together. Where there are efficient communications that allow buyers and sellers to find each other without brokers, brokers have to become much more efficient to survive.
  • Travel agencies are in trouble, because most airline tickets are now sold direct. Since the airlines no longer need the agencies, they have reduced or eliminated commissions.

Goal driven systems

• A best practice in software development is to

focus on stakeholder goals instead of the

functions or activities to be performed by a

system.

• In essence, focusing on goals allows us to

avoid reproducing functions that are not

necessary to reach those goals. (More

disintermediation!)

What goals?

• There are three basic types of customers in

the economy.

• Business

• Consumers

• Government

• Each type has different goals.