Rob Pike: The Best Programming Advice I Ever Got.
1–10 of 142 posts
Re: Rob Pike: The Best Programming Advice I Ever Got.
#2Re: Rob Pike: The Best Programming Advice I Ever Got.
#3Pretty much it's a combination of both: you look at the code, you think about what's happening and what could go wrong, you look at the code again, you think some more, you look at stacks, variables, output.. and then you think again and BOOM: you figure it out.
The best debugging tool is you. Use all you have.
Re: Rob Pike: The Best Programming Advice I Ever Got.
#4Ken Thompson said that never happpend; they didn't need to look at each others code, because they were all "pretty god coders": http://www.informationweek.com/software/operating-systems/qa...
"Dr. Dobb's: Was there any concept of looking at each other's code or doing code reviews?
Thompson: [Shaking head] We were all pretty good coders."
Nothing to do with Rob Pike, who has worked with Ken for decades since.
Re: Rob Pike: The Best Programming Advice I Ever Got.
#5Re: Rob Pike: The Best Programming Advice I Ever Got.
#6Ken Thompson said that never happpend; they didn't need to look at each others code, because they were all "pretty god coders": http://www.informationweek.com/software/operating-systems/qa...
Re: Rob Pike: The Best Programming Advice I Ever Got.
#7Ken Thompson said that never happpend; they didn't need to look at each others code, because they were all "pretty god coders": http://www.informationweek.com/software/operating-systems/qa...
There is no reason that both versions of history can't be true.
Re: Rob Pike: The Best Programming Advice I Ever Got.
#8Re: Rob Pike: The Best Programming Advice I Ever Got.
#9Does the order of the two terminal conditions matter? / Try it out!
Does the order of the two previous answers matter? / Yes. Think first, then try.
- The Little Schemer
Re: Rob Pike: The Best Programming Advice I Ever Got.
#10You are only so smart. Once the complexity of the programming model reaches a certain point a debugger is necessary to validate and discover the true nature of a system. Often that point is quite low.
That is true but if you rely only on the tools, you will never gain a smarter understanding of the systems you are working with.