# New Tag Proposal: Self-Referential

There's a lot of questions that result in code that refers to itself. Typically these questions get assigned the tag, though it's not quite applicable in some cases.

I propose a new tag , which is applied to questions where the answers in someway refer to their characteristics, such as length or characters. While there's some overlap with , I believe this can be reconciled by having refer to challenges that have to output or generates versions of themselves, such as permutations, sections, or backwards.

Some questions that would benefit from adding the tag (and maybe removing the tag):

Something like the self-identifying quine or print every character you program doesn't have might get both tags.

• So self-referential programs doesn't need to fully know all information about itself, while quine does. – user202729 Apr 16 '18 at 4:49
• For example "a program that calculates its sha-256 hash" is self-referential (... or it is not?) – user202729 Apr 16 '18 at 4:50
• And... no, I think self-identifying quine should be a quine. It's possible to calculate its own source code by running it over all strings until something matches. – user202729 Apr 16 '18 at 4:50
• @user202729 In the question I suggested quine refer to code that outputs its source code transformed in some way. It makes more sense to call a self-identifying program "self-referential" than "quine-like", though the fact that programs would usually have to generate the source code to compare against is why I suggested it gets both tags. A "sha-256" program would probably be closer to a quine because while the hash is semi-unique for each text, it's not an intrinsic attribute of a program. – Jo King Apr 16 '18 at 5:03
• @user202729 Not necessarily. You might end up with a collision instead. – mbomb007 Apr 16 '18 at 18:08