7
\$\begingroup\$

I recently created a language, and was wondering (As many others may be) if a user is allowed to create a tag for their language and post a few example questions. The following things should be clarified:

  • Should users be able to create tags for their own language?
    • Should they post example questions?
    • Should they use the naming convention used by existing language tags?
    • If they don't have enough rep and/or don't know if they should make the tag, should they post on meta?

I've seen around chat that various users have made their own languages. Should we allow them to create a tag for the language?

Related: Do we really need to discuss every new tag?, Creating a new language: FreezeFlame

\$\endgroup\$
0

2 Answers 2

5
\$\begingroup\$

I disagree with Simon's answer, simply because it fails to explicitly address (one of) the most important rule(s) when tagging:

Every question should have a language tag. Not just any language tag, but a tag for the language in which the code is written.

If that's a user-created language, so be it. Get it its own language tag.

When should that tag be created? The moment a question shows up with code written in that language. Don't go around creating language tags pre-emptively. Don't create example questions. If you got code samples, put them in the repository of the language spec. Although, of-course, feel free to write a FizzBuzz to introduce your language to the site.

\$\endgroup\$
9
  • \$\begingroup\$ FizzBuzz you say? That reminds me, I need to add for loops... \$\endgroup\$ Sep 8, 2018 at 20:57
  • \$\begingroup\$ @FreezePhoenix Or a solution to one of the Eulers, or a 3 doors problem, hangman, it doesn't really matter. Essentially all such questions are introductions to the programming language for the developer with varying degrees of difficulty. \$\endgroup\$
    – Mast Mod
    Sep 9, 2018 at 12:28
  • \$\begingroup\$ for loops have been implemented. Now, for a FizzBuzz... \$\endgroup\$ Sep 9, 2018 at 14:57
  • \$\begingroup\$ Fizzbuzz created. Should I post the equivalent javascript code along with the fizzbuzz? \$\endgroup\$ Sep 11, 2018 at 12:57
  • \$\begingroup\$ Every question should have a language tag Not necesarily. Questions that aren't specifically about a piece of code or even a programming language in general cannot logically have a language tag. A typical example of that are questions about general purpuse IDEs. \$\endgroup\$
    – Alejandro
    Sep 11, 2018 at 17:38
  • 3
    \$\begingroup\$ @Alejandro This is Code Review. If your question isn't about a specific piece of code in a specific language, I wonder if the question can even be on-topic, as per our help center. \$\endgroup\$
    – Mast Mod
    Sep 11, 2018 at 17:55
  • \$\begingroup\$ Sure, this answer has a good point. But how would you review this language? \$\endgroup\$ Sep 15, 2018 at 22:12
  • 1
    \$\begingroup\$ @SimonForsberg Just like any new language you come across: you learn it a bit before and during review. Of-course, a self-answer to questions with new languages do help to get the tag a bit of momentum. \$\endgroup\$
    – Mast Mod
    Sep 16, 2018 at 7:17
  • \$\begingroup\$ @Mast Oh? Will note... \$\endgroup\$ Sep 16, 2018 at 20:22
10
\$\begingroup\$

I think about this not as a user-created language but as a Code Review community project.

Most importantly: Don't create a tag too soon. In my opinion it's easier to create tags than get rid of them. If your tag would only see a few questions over a few years, then it's not a very useful tag.

Should users be able to create tags for their own language?

Possibly, if the language is popular enough.

Should they post example questions?

No. You should post questions because you want a review, not because you want to create example questions just so that your language has its own tag.

Should they use the naming convention used by existing language tags?

Not entirely sure what naming conventions you are referring to, but sure - why not?

If they don't have enough rep and/or don't know if they should make the tag, should they post on meta?

Not necessarily. If you don't have enough reputation and/or don't know if you should create the tag: Then don't create it.

If you have enough reputation and think that there should be a tag, ask in chat and see if others agree. If you then think it should be taken to meta, take it to meta. If you after discussing in chat think that there should be a new tag, then create a new tag.

Follow these guidelines as an indication about whether or not there should be a tag.

\$\endgroup\$
7
  • \$\begingroup\$ The naming convention I am reffering to is that Javascript is javascript Python is python... as opposed to bf-user \$\endgroup\$ Sep 4, 2018 at 18:24
  • \$\begingroup\$ @FreezePhoenix What would bf-user be? I see 0 questions with that tag. \$\endgroup\$ Sep 4, 2018 at 18:26
  • \$\begingroup\$ Sorry, that was a bad example. I meant something like javascript-user-made or some other way to denote the language was made by a user in the name itself. \$\endgroup\$ Sep 4, 2018 at 19:20
  • \$\begingroup\$ @FreezePhoenix Well, you could possibly use custom-language or something general to indicate that, I don't think javascript-user-made would be good as that would also prompt a python-user-made and a java-user-made and so on. Having one general tag for all home-made languages would be enough, but there is already the language-design tag which is related to that (though not exactly what you are looking for). \$\endgroup\$ Sep 4, 2018 at 22:10
  • 4
    \$\begingroup\$ @FreezePhoenix I'm also wondering a bit how welcome a question would be if it was of the form "I wrote this code in language XYZ but there's only three people in the world that know this language, and oh - I created this language". How would you review something like that? \$\endgroup\$ Sep 4, 2018 at 22:11
  • \$\begingroup\$ You make a good point - The grammar should be posted at some point, and the language should also explain what it compiles to (if applicable), so that users attempting to review can answer the question. \$\endgroup\$ Sep 5, 2018 at 13:20
  • \$\begingroup\$ In the case that a user wrote the language, I would think that it would unnecessary to post a review, as you would expect they would know what the performance costs of operations are, and what the general recommendations would be. In the case of it being a language that is transpiled, they should also post the transpiled code, so that it is known what it is doing in effect. \$\endgroup\$ Sep 5, 2018 at 13:23

You must log in to answer this question.

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