Adaptive object-oriented software: the Demeter method by Karl Lieberherr

By Karl Lieberherr

This e-book provides an entire, well-designed technique for adaptive programming in C++ and instruments for assisting the method. and as the method is programming-language autonomous, any programmer drawn to writing cleanser, extra versatile OBJECT-ORIENTED code should still learn this ebook. we are hoping the paintings offered during this booklet turns into one of many construction blocks for a brand new development in object-oriented programming, relocating past item encapsulation to supply new abstraction instruments for the interplay between gadgets.

Show description

Read or Download Adaptive object-oriented software: the Demeter method PDF

Similar object-oriented design books

JUnit in Action, Second Edition

While JUnit was once first brought a decade in the past through Kent Beck and Erich Gamma, the Agile flow used to be in its infancy, "Test pushed improvement" was once unknown, and unit trying out used to be simply beginning to circulate into the common developer's vocabulary. this day, so much builders recognize the advantages of unit trying out and depend upon the more and more subtle instruments now on hand.

Construction Supply Chain Economics (Spon Research)

This is often the 1st finished research of the economic sourcing and procurement practices all through sixty-eight building offer channels throughout seven significant commodity sectors in any respect degrees. London offers real-world case reviews to combine idea and perform to explain the commercial structural and behavioural features of sectors fundamental to the development functionality.

Programming for the Newton®: Software Development with Newtonscript™

Programming for the Newton: software program improvement with NewtonScript makes a speciality of the strategies, methods, operations, and ideas concerned with software program improvement with NewtonScript. The book first elaborates on Newton program layout, perspectives at the Newton, and protos. Discussions specialize in process protos, developing and utilizing person protos, linking and naming templates, developing the perspectives of WaiterHelper, Newton program designs, and existence cycle of an software.

Decline and Fall of the American Programmer

Ed Yourdan demonstrates how U. S. software program agencies can turn into world-class retailers in the event that they make the most the foremost software program applied sciences of the Nineties. "View this booklet as a Tom Peters-style look for excellence within the software program global. Be ready to be angered. Be ready to be faced. Be ready to alter.

Additional resources for Adaptive object-oriented software: the Demeter method

Example text

For business classes, this would include names based on domain terminology such as Customer, OrderItem, and Shipment and, for technical classes, names based on technical terminology such as MessageQueue, ErrorLogger, and PersistenceBroker. 65. Prefer Complete Singular Nouns for Class Names Names such as Customer and PersistenceBroker are preferable to Cust and PBroker, respectively, because they are more descriptive and thus easier to understand. Furthermore, it is common practice to name classes as singular nouns such as Customer instead of Customers.

They are often used to ■ ■ ■ provide an overview of all or part of the usage requirements for a system or organization in the form of an essential model (Constantine and Lockwood 1999; Ambler 2001) or a business model (Rational Corporation 2002), communicate the scope of a development project, and model your analysis of your usage requirements in the form of a system use case model (Cockburn 2001; Ambler 2001). A use case model is comprised of one or more use case diagrams and any supporting documentation such as use case specifications and actor definitions.

Table 2 lists operation names for analysis class diagrams as well as for design class diagrams—the assumption being that your implementation language follows Java naming conventions (Vermeulen et al. 2000)—indicating how the operation name has been improved in each case. 67. Name Attributes with a Domain-Based Noun As with classes and operations, you should use full descriptions to name your attribute so that it is obvious what the attribute represents. Table 3 suggests a Java-based naming convention for analysis names that are in the Attribute Name format, although attribute name and Attribute name formats are also fine if applied consistently.

Download PDF sample

Rated 4.54 of 5 – based on 11 votes