Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVEMCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. At the very least, it will make it easier for readers to identify themselves with your code. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. At the very least, it will make it easier for readers to identify themselves with your code. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. At the very least, it will make it easier for readers to identify themselves with your code. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

added 93 characters in body
Source Link
Glorfindel
  • 22.6k
  • 31
  • 343
  • 347

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. At the very least, it will make it easier for readers to identify themselves with your code. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. At the very least, it will make it easier for readers to identify themselves with your code. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.

Source Link
Glorfindel
  • 22.6k
  • 31
  • 343
  • 347

You should certainly try to reduce the amount of code in your question; in fact, creating an MCVE - a Minimal, Complete, and Verifiable example, will often help you find the issue yourself.

However, be careful with renaming variables and string literals. This might throw away some of the context, which is often helpful to understand your problem. The only exception I can think of is where you need to protect sensitive data (passwords, customer information). In this particular question, I would not recommend to minimize your code.