posting solutions of solved problems

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
amit.singh3396
Posts: 2
Joined: Sun Oct 18, 2020 6:24 pm

posting solutions of solved problems

Post by amit.singh3396 »

Is it advisable to post solutions in the problem thread? And if yes, what are some good etiquettes to post a solution
User avatar
hk
Administrator
Posts: 11017
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: posting solutions of solved problems

Post by hk »

Only if you have something new to add that wasn't mentioned in the other posts. Or if you have a program in a language that isn't in the thread already.
Image
philiplu
Posts: 37
Joined: Wed Aug 02, 2017 8:51 pm
Location: Redmond, WA, USA

Re: posting solutions of solved problems

Post by philiplu »

I'd add to hk's comment with my own preferences: if you're going to post, please don't simply post the solution code without explanatory comments, however brief, except maybe if you're the first solution in a new language. When reading a post, I want to know what prompted your post without having to parse your code to figure that out.

Also, please, please, please, use the code tag to collapse your code, so people reading the forums can choose when to look at your code, and not have to scroll over it constantly.
Image
amit.singh3396
Posts: 2
Joined: Sun Oct 18, 2020 6:24 pm

Re: posting solutions of solved problems

Post by amit.singh3396 »

philiplu wrote: Sun Oct 18, 2020 10:54 pm I'd add to hk's comment with my own preferences: if you're going to post, please don't simply post the solution code without explanatory comments, however brief, except maybe if you're the first solution in a new language. When reading a post, I want to know what prompted your post without having to parse your code to figure that out.

Also, please, please, please, use the code tag to collapse your code, so people reading the forums can choose when to look at your code, and not have to scroll over it constantly.
Thank you for your inputs. Posts without any explanatory comments is exactly what prompted me to ask this question.
Post Reply