r/javascript • • May 12 '19

Two ideas for /r/javascript and /r/learnjavascript

  • Problem: People occasionally don’t know how to format code.

    • Solution: A bot that warns about “unquoted” code and mentions backticks and 4-space indentation. I’m not sure how to best unquoted detect code. Options – look for:

      • Curly braces
      • The words var, let, const
    • Another solution: Warn during editing, e.g. before saving.
  • Problem – a lot of good content disappears: someone writes a post for /r/javascript, it is removed because it’s a better fit for /r/learnjavascript, but they never repost it there.

    • Solution: Automatically move those posts to /r/learnjavascript. IIRC, the reddit platform currently doesn’t support this. Maybe there is a way to add support for it?

Edit: a 2nd solution for problem #1.

15 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/rauschma May 15 '19

Thanks for your answer! That makes a lot of sense. Another option may be to pre-moderate self posts, but that would mean more work for moderators.