Talk:Open/closed principle

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing  
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.

This is a slightly modified version (to be consistent with other wikipedia articles) from[1]. Jgorman2 12:01, 3 June 2006 (UTC)

"modified by extension"? Should not that be, modified by derivation (ie: thru a derived class)

The phrase "virtual inheritance" is a problem; should it be replaced with "delegation"? Baadams 19:33, 15 May 2007 (UTC)

...or "interface inheritance"? Chrisahn 15:34, 17 October 2007 (UTC)

The open-closed principle by Meyer does not say what the article suggests. It gives a different meaning of "closed", namely "available for use by other modules". What is described in the article is Martin's open-closed principle, which is only remotely related to Meyer's principle (Martins claim that he is just paraphrasing Meyer notwithstanding). —Preceding unsigned comment added by (talk) 13:00, 20 April 2010 (UTC)

I've rewritten the Meyer section to (I hope) better reflect Meyer's thinking, which may clarify the differences between Meyer's principle and Martin's. --Chronodm (talk) 22:50, 29 September 2015 (UTC)

I feel that this principle is more leaning toward composition and as a concern about opening possibilities to extension via separation of concerns and leaving responsabilities to client code rather than hardcoding decisions in implementation (such as exception management, or settings), although the article seems to be more about inheritance stuff. Am I wrong about my understanding of this concept? Gauthier.segay (talk) 17:32, 17 June 2010 (UTC) User:gauthier.segay

open/closed principle and functional programming un Java (8)[edit]

In his book Functional programming in Java (ch. 4, page 68), Venkar Subramaniam claimed to have used this principle using Java lambdas, not inheritance. Maybe a new field for this principle. Ptyxs (talk)

External links modified[edit]

Hello fellow Wikipedians,

I have just added archive links to 2 external links on Open/closed principle. Please take a moment to review my edit. If necessary, add {{cbignore}} after the link to keep me from modifying it. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true to let others know.

You may set the |checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting |needhelp= to your help request.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

If you are unable to use these tools, you may set |needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.

Cheers.—cyberbot IITalk to my owner:Online 06:06, 16 January 2016 (UTC)