Wikipedia:Articles for deletion/Signals and slots
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate of the proposed deletion of the article below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the article's talk page or in a deletion review). No further edits should be made to this page.
The result was nothing to delete. If you want to merge this somewhere, discuss it or boldly merge it. W.marsh 17:33, 9 June 2007 (UTC)
[edit] Signals and slots
In a recent edit, user Wikidrone added the AfD template to the page Signals and slots with the comment "duplicate of the Observer Pattern". I am just completing his nomination pro forma. I personally think that a suggestion to merge signals and slots with observer pattern would have been more appropriate. As for the page signals and slots itself I say weak keep, don't merge. I agree that Qt's signals and slots mechanism is just an example of a concrete realization of the observer pattern, but I think the widespread use of the Qt application framework establishes enough relevance for this page. I however think that the page needs to be rewritten to make this relationship with the observer pattern clearer. Tobias Bergemann 07:37, 3 June 2007 (UTC)
- Personally, I think too that the page should not be deleted. However, Signals and slot is not a design pattern but a language construct (calling MOC a language is questionable but reasonable enough).
The context is:
Callback (computer science) does not mention explicitly multicast callbacks nor the Observer pattern. Being multicast is what differentiates simple callbacks from signals and slots or C# delegates or whatever. It is easy to think to the implementations without thinking to the Observer pattern, and many readers do. Additionally, if you start from examples in the Callback article (passing a callback to be invoked on each element of an array), you'll see that they cannot be "cast" in form of, nor thought of as, realizations of the Observer pattern.
Finally, the most important language constructs (Qt signals and slots, C# delegates) devoted to this should be mentioned as separate articles, but regarding just the language constructs.--Blaisorblade 15:54, 3 June 2007 (UTC) - If you see duplicate articles, Wikipedia:Duplicate articles should be your first port of call. Article merger does not involve deletion at any stage. Don't bring articles to AFD if an administrator hitting a delete button is not what you want. Uncle G 16:06, 3 June 2007 (UTC)
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the article's talk page or in a deletion review). No further edits should be made to this page.