No post body was provided.
Ask HN: How did you fix bugs before StackOverflow?
1–7 of 7 posts
Re: Ask HN: How did you fix bugs before StackOverflow?
#2Same way as after StackOverflow.
A combination of thorough logging throughout the codebase at various levels of detail, one off print statements, then once it's narrowed down to a specific chunk of code reading it intently and finally if that doesn't work fire up a debugger and step through it.
Re: Ask HN: How did you fix bugs before StackOverflow?
#3I don't use SO for bugs very often. The main use case is getting example syntax for something I know I want to do, but dont know off hand.
sort dataframe on column pandas
(actually interesting, google gives me the `DataFrame.sort_values` documentation page as the first hit for that one, SO is second but you get the idea)Re: Ask HN: How did you fix bugs before StackOverflow?
#4Same way I do now: Logs, printf statements, debuggers, failed assertions, stack traces. That'll at least get me to the part of the code where the problem exists. I actually don't use SO much.
Re: Ask HN: How did you fix bugs before StackOverflow?
#5How did you make bugs before StackOverflow?
Re: Ask HN: How did you fix bugs before StackOverflow?
#6That is - for most of my career.
Answer: read the code, step through it on paper, use a debugger and read the documentation related to environment. Even now it is fairly easy to find circumstances where SO, or the web in general, gives no help if you stray outside of common languages or technology.
PS Good advice is - there is nothing wrong with the compiler!
Re: Ask HN: How did you fix bugs before StackOverflow?
#7Books. We used to have a huge library were I worked, with a couple full time librarians on staff. This was before Google showed up. After Google everything changed.