If people are going to post questions with code samples in this forum, I think we need to maybe address some basic underlying requirements. Personally, I prefer a loose moderation wherein we try to ensure a few basic quality of life requirements in posts:

  • Try not to provide screenshots of code since that’s harder to review
  • If you need help debugging, please try to only provide the bare minimum portions of your code which are relevant
  • If possible, try to provide a runnable example of your code in question
  • Try to explain: what you’ve tried, what the error is, what you think the problem is

I’m not trying to sound pushy about forum etiquette. But I personally am much more likely to review code that meets the above requirements. I like something I can compile and run quickly. I prefer some context as to where the issue probably is. Everything else is sort of secondary to me, but still matters.

What does the community think? Also, what do we want this community to do? Support specific programming questions or general CS career/education questions? Both?

  • Captain Janeway@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    True. Typing out code should be as simple as copy/paste inside two lines of three “backticks” (backtick: `)

    E.g.

    ``` My code ```

    My code