/[eiffelstudio]/trunk/Delivery/xmldoc/general/guided_tour/language/invitation-10.xml
ViewVC logotype

Diff of /trunk/Delivery/xmldoc/general/guided_tour/language/invitation-10.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 45225 by neilc, Mon Aug 23 18:38:21 2004 UTC revision 45226 by manus, Thu Aug 26 20:25:41 2004 UTC
# Line 11  Line 11 
11          <paragraph>          <paragraph>
12                  <paragraph>Building software components (classes) as implementations of abstract data types yields systems with a solid architecture but does not in itself ensure reusability and extendibility.  Two key techniques address the problem: generosity (unconstrained or constrained) and inheritance.  Let us look first at the unconstrained form.  </paragraph>                  <paragraph>Building software components (classes) as implementations of abstract data types yields systems with a solid architecture but does not in itself ensure reusability and extendibility.  Two key techniques address the problem: generosity (unconstrained or constrained) and inheritance.  Let us look first at the unconstrained form.  </paragraph>
13                  <paragraph>To make a class generic is to give it                  <paragraph>To make a class generic is to give it
14                          <bold>formal generic parameters</bold>  representing as unknown types, as in these examples from Eiffel Software's EiffelBase, an open-source library covering basic data structures and algorithms:                          <bold>formal generic parameters</bold>  representing as unknown types, as in these examples from EiffelBase, an open-source library covering basic data structures and algorithms:
15                  </paragraph>                  </paragraph>
16                  <code_block><class_name>ARRAY</class_name> <symbol>[</symbol><generics>G</generics><symbol>]</symbol>                  <code_block><class_name>ARRAY</class_name> <symbol>[</symbol><generics>G</generics><symbol>]</symbol>
17  <class_name>LIST</class_name> <symbol>[</symbol><generics>G</generics><symbol>]</symbol>  <class_name>LIST</class_name> <symbol>[</symbol><generics>G</generics><symbol>]</symbol>

Legend:
Removed from v.45225  
changed lines
  Added in v.45226

  ViewVC Help
Powered by ViewVC 1.1.23