I'm teaching myself Java, and it's (effectively) my first programming language. Sometimes when I complete an exercise I wonder if I've done things in the right way.
For example, perhaps I write a little program that successfully copies a file. Have I dealt appropriately with the things that can go wrong? Is my code unusual, or hard to read? Is there a more standard way to accomplish the goals of this program?
So I'm wondering if posting such code with a request for general feedback is appropriate. My hesitation is that it can lead to discussion, rather than a definitive answer, and it could seem to be undesirable clutter. Nevertheless, such questions (unlike the meta-question that I'm asking now) would be programming questions, and there are many objective answers that could be offered.
So let me know. Is this good use of SO? Or acceptable as community wiki? Or should I find a friend to review my code, and use SO for clearly defined, objective questions?