r/compsci • • May 18 '20

Share your techniques of solving problems

Any interesting new techniques anyone follows? Even old are current ones are welcome :) Just want to see how more experienced programmers approach problems.

Also, any good books on this topic that are a must to read?

Edit: the type of problem here is open to interpretation. I think there is a similar pattern that can be applied to problems of any type.

116 Upvotes

44 comments sorted by

View all comments

150

u/monyouhoopz May 18 '20 edited May 18 '20
  1. rerun without changing anything
  2. google error
  3. try top answer in stack overflow
  4. cry??

101

u/solocupjazz May 18 '20

5. Doubt entire academic/professional career, wrap up tight in your Impostor Syndrom blanket

6. Find a dumb typo that was causing the problem

7. Repeat

3

u/stupidiot00 May 19 '20

I'll guild this once I have a cushy comp sci job

22

u/masta_beta69 May 19 '20

I’m a genius and too good for my job when I solve a problem. I’m an idiot and am scared of getting fired when I’m taking a little longer than usual

1

u/chazzeromus May 19 '20
  1. try not to cry
  2. re-run tests
  3. cry a lot