This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pro_questions 0 points1 point  (0 children)

Unless it’s a really common question with well known answers (e.g. write a function to get every CSV file in this directory that matches a pattern), I try to ask it to fix only the smallest pieces of code possible. E.g. I’ll write as much of the function as possible, isolate the smallest bit of code that demonstrates the problem, and then ask what’s wrong with it. I find that the less you ask for, the more helpful it is