• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The term 'transparent'

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why is something called 'transparent' in OO (e.g. 'that process is completely transparent for other objects') when you don't see what's going on?
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Because you can't see something that's transparent?
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Say I create a business class BTWHandlerImpl to handle some complex business logic. The class has a few methods. The method signature for one of them is:



Other business objects that interact with instances of BTWHandlerImpl cannot "see" the implementation of the processTWSection method. Also, we can change and modify the implementation without affecting any other code in the client objects or the class itself.

The API of the method is not transparent however. Only the implementation. This may be a little confusing, and the term "transparent" might not clearly convey the characteristics it is used to describe.
[ October 24, 2008: Message edited by: James Clark ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic