How I Came Up with this Question?
Is it a good way to post the whole code, the whole project in a question? I see new users or even many old ones posting the whole code and ask to point out where the error is or what needs to be added or deleted from the code.
It is just in every one-tenth of questions that whole project is not posted. This isn't easy to read or understand. The person's mind just gets blown.
The user should post fair amount of code. I know posting code is a must for us to know where the error is but pointing out where the error is makes it easy and understandable. I have noticed questions (easy or tough) with lesser code get more attention and more answers and votes.
It also doesn't look safe posting whole of the code. It has chances of being stolen.
- Should we post the whole code instead of some part which has to do something with the question?
- Is it safe posting whole of the code?