Skip to main content
3 of 3
replaced http://stackoverflow.com/ with https://stackoverflow.com/

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.

Glorfindel
  • 22.6k
  • 31
  • 343
  • 347