GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing stackoverflow.com — How to create a Minimal, Reproducible Example - Help Center Collectives™ on Stack OverflowFind centralized, trusted content and collaborate around the technologies you use most. Learn more about CollectivesHow to create a Minimal, Reproducible ExampleWhen asking a debugging question, people will be better able to provide help if you provide code as text in your question that prospective answerers can easily understand and use to reproduce the problem. This is variously referred to as creating a "minimal, reproducible example" (MRE), a "minimal, complete and verifiable example" (MCVE), a "minimal, workable example" (MWE), or a "reprex". Regardless of how it's communicated to you, it boils down to ensuring you have included code in your question that follows the following guidelines: Your code examples should be…
The rest of this help article provides guidance on these aspects of writing a minimal, reproducible example. For more information on how to debug your program so that you can create a minimal example, Eric Lippert has written a fantastic blog post on the subject: How to debug small programs. MinimalThe more code there is to go through, the less likely people can find your problem. Streamline your example in one of two ways:
…but still readableDon't sacrifice clarity for brevity when creating a minimal example. Use consistent naming and indentation, and include code comments if needed. Use your code editor’s shortcut for formatting code. Also, use spaces instead of tabs, as tabs usually are not correctly formatted on Stack Overflow, particularly for indenting. CompleteMake sure all information necessary to reproduce the problem is included as text in the question itself:
ReproducibleTo help you solve your problem, others will need to verify that it exists:
It might help to shut the system down and restart it, or transport the example to a fresh environment to confirm it really does provide an example of the problem. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |