9

There does not seem to be the slightest difference between and simply

has only a handful of uses.


NOTE thanks to duplode, we know that is an obscure and specific field of study in "type theory" in comp. sci. It is unrelated to "singletons" in the sense of OO questions about singletons and that tag should not be removed or merged. It's possible "singleton-type" should be renamed to (say) "DDT-singleton-theory" (or something) to avoid naive shotgun use of the tag, by people searching on "singleton" for everyday questions about singletons.

15
  • By the way. I'm curious....i only for the first time today bothered to make posts here about obvious tag duplicates (such as this one). It seems incredible that nobody before, i.e. the 4000 people who have posted "singleton" questions, noticed the lame duplicate tags. Perhaps I misunderstand something, or I'm just wrong on how it all works.
    – Fattie
    Sep 18, 2015 at 20:21
  • This request seems reasonable. Both of the extra tags have under 100 questions.
    – ryanyuyu
    Sep 18, 2015 at 20:26
  • Don't remember when it was first explained to me, but the markdown syntax is just [tag:tag-name] or [meta-tag:meta-tag-name]
    – ryanyuyu
    Sep 18, 2015 at 20:29
  • who knew? what a world
    – Fattie
    Sep 18, 2015 at 20:31
  • I guess that wasn't very clear, but only the tag-name is variable. You prefix with either tag or meta-tag and then follow it with the actual name of the tag, which is usually hyphen delimited on SO. Then the provide links to the actual tag pages (if they exist).
    – ryanyuyu
    Sep 18, 2015 at 20:33
  • thanks again. you know, I can't make it work in a comment .. no big deal of course. TBC I am seeing only red underlined words in my attempts in comments. in your comments I see the epic gray box.
    – Fattie
    Sep 18, 2015 at 20:34
  • Yeah comments don't support that. But at least they still are links to the actual page of the tag.
    – ryanyuyu
    Sep 18, 2015 at 20:35
  • ah all understood, cheers. thanks again
    – Fattie
    Sep 18, 2015 at 20:36
  • So like ... is someone going to merge these or what ?
    – Fattie
    Sep 19, 2015 at 19:42
  • Note that [singleton-type] is not about the singleton OO design pattern, and so it shouldn't be merged with [singleton]. [singleton-type] refers to a technique which uses types with a single inhabitant to facilitate dependently typed programming. This question summarises it well.
    – duplode
    Sep 19, 2015 at 23:45
  • @duplode brilliant I had no idea, thanks
    – Fattie
    Sep 20, 2015 at 14:52
  • 2
    I have the suspicion that this tag was actually created for singleton methods in ruby, which have nothing whatsoever to do with the singleton design pattern and that the tag excerpt (which really makes no sense at all) was added later. I would advise against just synonymizing it. Either make it distinct from singleton or delete it, but as it stands now, about half of the questions (including the first question, which created the tag) are about singleton methods in Ruby and not at all about the singleton design pattern. Sep 20, 2015 at 20:31
  • 1
    I suspect the same is true for singleton-class as well, by the way. I noticed that the synonymization has already happened, and as a result, a significant portion of questions about singleton-classes in Ruby are now wrongly tagged with the singleton design pattern. Sep 20, 2015 at 20:46
  • "another instance" heh. I see what you did there.
    – looper
    Sep 21, 2015 at 14:31
  • lol looper - finally someone gets it! :-)
    – Fattie
    Sep 21, 2015 at 14:47

2 Answers 2

3

I've suggested these as synonyms and you can vote for them.

6
  • seems amazing! someone should just set it to "4" so you don't have to wait since it's obvious!
    – Fattie
    Sep 19, 2015 at 21:49
  • 5
    This is a community, not a dictatorship :)
    – jtbandes
    Sep 19, 2015 at 21:50
  • 2
    can we vote to have that changed to save time
    – Fattie
    Sep 19, 2015 at 21:52
  • As I mentioned in a comment to the question, [singleton-type] should not be merged with [singleton].
    – duplode
    Sep 19, 2015 at 22:57
  • 1
    @duplode: in that case, please write a wiki entry for singleton-type.
    – jtbandes
    Sep 19, 2015 at 23:03
  • 1
    @jtbandes Excerpt created, thanks for the reminder.
    – duplode
    Sep 19, 2015 at 23:12
3

I can see no special meaning in "singleton methods" ... they're all just the usual question about when/how to use singletons on different platforms.

I disagree. About half of the questions (including the oldest question, which possibly created the tag) are about singleton methods in and not at all about the design pattern.

If half the questions are about something else, you surely cannot say that they're "all" about singletons.

I have the suspicion that this tag was actually created for singleton methods in Ruby, which have nothing whatsoever to do with the singleton design pattern. The tag excerpt (which really makes no sense at all) was added much later, almost 5 years during which time the tag was mostly used for the Ruby concept. I would advise against just synonymizing it. Either make distinct from (I volunteer to help write a tag excerpt and wiki and retag non-relevant questions) or delete it, but as it stands now, about half of the questions tagged with it would be wrongly tagged, if were made synonymous with the design pattern tag.

5
  • 1
    I suspect the same is true for singleton-class as well, by the way. I noticed that the synonymization has already happened, and as a result, a significant portion of questions about singleton-classes in Ruby are now wrongly tagged with the singleton design pattern. Sep 20, 2015 at 20:46
  • fascinating information, SURELY the tag(s) in question should include the word "Ruby"
    – Fattie
    Sep 20, 2015 at 21:38
  • It seems unfortunate that an obscure little technology like "Ruby" should be able to take over and confuse such basic tags and subtags. wouldn't it be a better approach, where words of general value in comp sci ("singleton") are at hand, that there's simply a tag "singleton" and then people can add "Ruby" etc as fit? Tags don't exist in isolation, questions have more than one tag.
    – Fattie
    Sep 20, 2015 at 21:42
  • 1
    As it stands now, "singleton" is not a "basic tag" or a "word of general value in comp sci", it is specifically about the Singleton Software Design Pattern, which is a very narrow specialized thing. This is an entirely different discussion, then. What you propose is changing the meaning of singleton from the Singleton Software Design Pattern to the generic English word "singleton". That's a valid approach, of course. What I am objecting to is a simple synonymization of singleton-methods to singleton, because contrary to the claim in the question, half of the questions Sep 20, 2015 at 23:27
  • 1
    … are not about the Singleton Software Design Pattern, which, however, is the (current) meaning of singleton. I'm definitely not proposing that Ruby should take over nomenclature. The term "singleton method" in Ruby, and the term "Singleton Pattern" in the design patterns community arose independently at around the same time, I believe. The term is not exclusive to Ruby, AFAIK, at least Sapphire and Fancy also have a similar concept, and also call it "singleton method". Whereas I never heard someone refer to a "method related to the singleton pattern" as a "singleton method". Sep 20, 2015 at 23:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .