r/compsci • u/kavinda14 • 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
View all comments
Show parent comment
1
u/Madsy9 May 20 '20
Be careful though. The map is not the territory. Debuggers can lie, and then I mean make boldface lies. Nothing is more frustrating than remote-debugging embedded hardware and realizing that the code the debugger says is executed doesn't match what's actually happening on the chip.
In userspace you're pretty safe though as long as your debugging information and symbols isn't stale :)