Changes between Version 7 and Version 8 of wxGUIDevelopment/Refactoring


Ignore:
Timestamp:
Aug 2, 2013 12:59:45 AM (6 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wxGUIDevelopment/Refactoring

    v7 v8  
    8787''This text is unclear as well as the right answer.''
    8888
    89 Or would be better to define interface class (similar to GrassInterface) to ensure exclusive
     89Or would be better to define interface class (similar to !GrassInterface) to ensure exclusive
    9090use of this interface? Private methods are probably mostly sufficient, however interface of
    91 particular class can be wider than defined GrassInterface.
     91particular class can be wider than defined !GrassInterface.
    9292
    9393For example, some class A which is not expected to use the wider interface, provided by
    9494class B, can use this wider interface when class A has direct access to class B. Consequently,
    95 the class A depends on class B instead of GrassInterface interface. Using GrassInterface
    96 layer ensures that class A depends on the GrassInterface, not the wider interface provided
     95the class A depends on class B instead of !GrassInterface interface. Using !GrassInterface
     96layer ensures that class A depends on the !GrassInterface, not the wider interface provided
    9797by the class B.
    9898
    99 However, implementing the GrassInterface is little bit more difficult because beside the
    100 particular class (class B in example above), you have to implement also the GrassInterface
     99However, implementing the !GrassInterface is little bit more difficult because beside the
     100particular class (class B in example above), you have to implement also the !GrassInterface
    101101class.