Monday, October 4, 2010

How to ask a Programming Question?

Leave Domain Information Out

As important as providing all critical information is, leaving out un-necessary information.  Generally domain information will not be required.  If you feel need to provide domain information to get an answer, it is most likely you have not abstracted your issue fully.

Keep it Short

Well.. nobody wants to read or hear a long essay.  Again if you find your question becoming long, then you probably have not abstracted enough or may be you are asking more than one question.

Ask only one question at a time

No explanation needed…

Provide Abstracted Code Sample

A self contained, short code sample re-reproducing the issue is always helpful.  Generally this is good practice for figuring out code issues and you may fix the issue yourself in the process.