Re: Reflection brakes encapsulation

-----Original Message-----
From: David P. [mailto:[email protected]]
Sent: Friday, June 30, 2006 11:57 AM
To: ruby-talk ML
Subject: Re: Reflection brakes encapsulation

The same reflection issues are present in Java and C#. I
know of no language and/or runtime that completely enforces
protection of private methods.

Besides, how would we test our private methods if we couldn’t break the
rules. :slight_smile:

  • Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs