Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
    Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
When you TellTheDetails, work hard on providing only those details that are relevant to the problem.

This is especially important with code. When you have a 100 line program that doesn't work as expected, very few people are going to read through all those lines to help you find the problem.

Try to find the minimal number of lines that still show your problem. If you can reduce the code you need to show to 10 lines, many more people will be willing to take a look at it. Doing so demonstrates that you were willing to ShowSomeEffort when presenting your problem. People are more likely to help someone who cares enough not to waste their time with a lazily posted question.

This strategy will also help you to understand your problem better. It is also good practice when submitting a bug report for code that you use, so investing time into learning this practice well pays back manyfold.

Take a look at our other tips on HowToAskQuestionsOnJavaRanch.



See Also:

  • http://sscce.org/ for much more detailed instructions on posting code examples.

    • Bookmark Topic Watch Topic
    • New Topic