Check out the Best Porn Sites for an ad-free browsing experience!

learn programming

324,683 subscribers a community for 7 years, 8 months

last post today [+]

Welcome to LearnProgramming!

Asking Questions - Offering Help

Posting Guidelines

  1. Ask questions the smart way. Learn how to write the perfect question. Read the full guidelines for asking questions.
  3. Please use a descriptive title and specify the language or tech you're working with.
    • Good Example: [C++] Segmentation fault while writing to array in a for loop
    • Bad Example: What's wrong with this?
  4. If your question gets answered, use link flair to mark it as solved
  5. When posting code on this subreddit, please post a small, self-contained, correct example, i.e. a minimal, runnable example.
    • Minimal means that it should be the smallest amount of code necessary to demonstrate your problem.
    • Runnable means that someone should be able to take the code as is, compile and/or run it, and reproduce your problem.
  6. Never post a screenshot of your code! Use one of the tools below instead.
  7. When offering help, you don't have to be an expert to answer a question. If you can help, chime in, just follow these guidelines.
  8. Never give out complete solutions - help, guide, but do not solve! - Violators of this rule will receive a 10 day ban without prior notice!

Recommended Tools for Posting Code:

  • Redditlint: to easily format code for posts (best for short code)

  • Gist: for long code and code in multiple files.

  • IDEone: for code that must be executable.

  • JSFiddle: for HTML, CSS, or JavaScript specifically.

  • Markdown Tables Generator: to produce nicely formatted tables

See the full guidelines for more explanation.

Frequently Asked Questions

  1. How do I get started with programming?

  2. What programming language should I start with? Which language is best for making games/websites/etc?

  3. Can I get a programming job without a Computer Science degree? Or without any degree at all? Is it worth quitting University?

  4. What does it mean to "know a language" or to "know how to program"?

  5. What is the difference between C, C++, Objective-C, and C#?

  6. What is the difference between Java and Javascript?

  7. What is an IDE? Should I be using one?

  8. What is Source/Version/Revision Control? Should I be using it?

  9. How can I contribute to open source projects?

  10. I want to learn to make video games. Where do I start?

Recommended Resources


  1. No Rewards: LearnProgramming does not condone monetary or other rewards for work within the community.

  2. Good Content: Any external resources linked to should be up-to-date and correct.

  3. Good Comments: Abusive, racist, or derogatory comments towards individuals or groups are not permitted.

  4. No Referral Links: Please refrain from posting referral links to Amazon or other sites.

  5. No Complete Solutions: Don't give out complete solutions. Guide the OP to the solution, but do not solve it for them.

  6. No piracy: Do not ask for or post any links to pirated or otherwise illegal material. Such links will be removed and the poster will be permanently banned without further warning.

Violating a rule is grounds for removal of the post or comment at moderator discretion.

Please read the FAQ and posting guidelines before submitting!

this reddit has been tagged

keeping track of 1,042,416 reddits