We frequently ask new contributors to improve their question to comply with How to ask and Minimal, complete, verifiable example. Those pages provide some basic advice, how a good question should look like.
However, many if not most of the new contributors coming to ask questions are absolute beginners and do not know how to gather the required information to form a good question since they have no clue about using debuggers, finding error logs or even enabling error logging at all.
This is different in each language and cannot be advised generally, e.g. in PHP questions I often see people providing either no dump at all or if they do, it is a print_r
not showing any relevant types. var_dump
is more verbose, however, when this is used to create reproducible examples, you would have to recode array / object structures by hand (typically entire database result tables). I experience that many people never have heard about var_export
generating executable source.
The both help pages above are a nice summery to give a first idea how questions should be asked. I would like to see a more language specific automated help system when asking question. It should recognize or just ask which coding language the question belongs to and teach the asker how to gather the needed information, i.e. error logs, dumps in a proper format etc.
Is there already something similar I did not see, or is it planned?