• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Access a private variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access a private variable?


  • Subject: Re: Access a private variable?
  • From: Robert Walker <email@hidden>
  • Date: Fri, 15 Jul 2005 19:45:15 -0400

Bertrand Meyer (OOSC, 2nd Ed, p 347) would call it an error ("a wrong decision made during the development of a... system"), but "bug" can mean error, defect ("a property of a... system that may cause [it] to depart from its intended behaviour") or fault ("the event of a... system departing from its intended behaviour...").

Well unless there is more to this than I see here, I wouldn't interpret this that way at all. "A wrong decision made during development..." Wrong by who's option? The developer expressed his intention in the documentation, implemented what was described in the documentation, and the code behaves according to the described intent. How can this be called a "bug" or "wrong decision?"


If this interpretation of "bug" is true, then it really is impossible to write bug-free software. You would have to implement every feature that any person could imagine in order to be bug-free.

Besides, isn't this why OOP exists in the first place (so developers can add additional behavior to a class for the purpose of extending the class's usefulness)? So I guess this means that all subclasses are "bug fixes" according to this definition.

On Jul 15, 2005, at 6:02 PM, Sacha Mallais wrote:

On Jul 15, 2005, at 1:58 PM, Robert Walker wrote:


It is certainly the case that the features of that class work as described; the bug is in the fact that there is no way (except object rape) to get the count of the in-memory-filtered objects.


Yep, I agree. Except for the terminology used. "Missing features" are not bugs. They are simply "Missing features."



Bertrand Meyer (OOSC, 2nd Ed, p 347) would call it an error ("a wrong decision made during the development of a... system"), but "bug" can mean error, defect ("a property of a... system that may cause [it] to depart from its intended behaviour") or fault ("the event of a... system departing from its intended behaviour...").


Well, according to Meyer, anyway...


sacha


-- Sacha Michel Mallais President / Developer Extraodinaire Global Village Consulting Inc. http://www.global-village.net/ The bird of paradise alights only upon the hand that does not grasp.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Access a private variable?
      • From: Sacha Mallais <email@hidden>
References: 
 >Access a private variable? (From: Alex Johnson <email@hidden>)
 >Re: Access a private variable? (From: Sacha Mallais <email@hidden>)
 >Re: Access a private variable? (From: Alex Johnson <email@hidden>)
 >Re: Access a private variable? (From: Sacha Mallais <email@hidden>)
 >Re: Access a private variable? (From: Robert Walker <email@hidden>)
 >Re: Access a private variable? (From: Sacha Mallais <email@hidden>)
 >Re: Access a private variable? (From: Robert Walker <email@hidden>)
 >Re: Access a private variable? (From: Sacha Mallais <email@hidden>)

  • Prev by Date: Re: Access a private variable?
  • Next by Date: Re: passing parameters to webboject application
  • Previous by thread: Re: Access a private variable?
  • Next by thread: Re: Access a private variable?
  • Index(es):
    • Date
    • Thread