Jump to content

Talk:Factory (object-oriented programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Juansempere (talk | contribs) at 16:22, 27 August 2011 (merge to factory method pattern). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Stub‑class
WikiProject iconThis 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.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
WikiProject iconComputer science Stub‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles 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.
StubThis article has been rated as Stub-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Things you can help WikiProject Computer science with:

In the phrase "concrete type", the word 'concrete' has been wikified, but this links it to the page concrete, which is hardly appropriate. It's not quite clear what article it should link to; the nearest I can come up with is Abstraction_(computer_science), which unfortunately doesn't mention the antonym 'concrete' until the 'Considerations' section. For now, I've pointed it at the disambiguation page. 131.111.202.32 (talk) 11:44, 18 January 2011 (UTC)[reply]

The text of this article almost completely overlaps part of the text in the article factory method pattern, to which this concept is closely related. There is no point in keeping identical copies of text in two separate places. JIP | Talk 19:28, 16 August 2011 (UTC)[reply]

That's not true. Factory method pattern is a method to create factories in object oriented languages. You cannot apply such a pattern in non-object-oriented languages such as C. Nevertheless, you can implement a factory in C using dynamic memory. The theoretical concept and the pattern should be kept appart
--Juansempere (talk) 16:21, 27 August 2011 (UTC)[reply]