Map
Index
Random
Help
th

Quote: only refer to an object's class when creating it; use interfaces elsewhere

QuoteRef: blocJ_2001 , p. 156



Topic:
object-oriented classes
Topic:
interface type
Topic:
object-oriented fields
Group:
parameters
Topic:
local declaration of data

Quotation Skeleton

Item 34: Refer to objects by their interfaces … If appropriate interface types exist, parameters, return values, … to refer to an object's class is when … If you get into the habit of using … For example, the first declaration [Vector subscribers] could be … to work.   Google-1   Google-2

Copyright clearance needed for quotation.

Additional Titles

Quote: use interface types for parameters, return values, variables, and fields

Related Topics up

Topic: object-oriented classes (67 items)
Topic: interface type (50 items)
Topic: object-oriented fields (28 items)
Group: parameters   (10 topics, 145 quotes)
Topic: local declaration of data (11 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.