Live data from Hacker News

Experienced Programmers Use Google Frequently

codeahoy.com

61–70 of 181 posts

Re: Experienced Programmers Use Google Frequently

#61

For programmers that were coding before good search engines: what did you do when you wanted to look up an error, etc back then? Crack open a tome for the language? Just curious as I can't imagine it was easy.

Yes, the general rule was to actually understand what the error means, and if that didn't solve the problem, where it occurred and how did the thing get in the erroneous state (the thing called "debugging").

Re: Experienced Programmers Use Google Frequently

#62
post #51

After doing a lot of interviewing, particularly when asking the same question over and over again, I've noticed the quality of what an interviewee decides to Google varies greatly and can give a lot of insight that just solving the problem alone can't. I've been amazed by some of the incomprehensible things people Google, even among those with the supposed same credentials, skillsets, and backgrounds. Aside from whet…

Would love to know more about what you noticed from seeing the choice of what to search for. Care to share some examples?

Re: Experienced Programmers Use Google Frequently

#63
post #2

Another essential point here is when you get 'fancy' error messages. Google is amazing at finding why (and usually, The Patch) when you fail to compile random packages. I have my own little cross-distro builder[0] and I /rarely/ bother trying to dive into autoconf/make hell before cut+pasting the exact error message into google! That very likely saved my sanity many times over :-) Otherwise I agree with the article -…

This is spot on. Sometimes it's much quicker to just plug the error into Google than to search. Saves a lot of time and work.

I live in France, and I hate localized linux distributions, you can't google error messages when it's localized. I sometimes try to re-translate the message in English and google it.

Error messages are not messages for the users to diagnose anymore, they are keywords for google, give them a number. I google and if it fails, I'll try to use my brain.

Re: Experienced Programmers Use Google Frequently

#64

I've been finding Google less useful in the last little while. It taunts me and tells me that I'm sorry Daniel, I've decided to exclude the most important keyword from your query. Domain-specific search tools - e.g. for programming, Dash.app - have become an increased part of my workflow partially because Google simply isn't giving me the results I am looking for.

Put keywords in quotes and Google will not exclude them.

Re: Experienced Programmers Use Google Frequently

#65

Earlier quoted context omitted.

May I ask you what other search engines are you referring to?

Personally, I use DDG. Others may use bing, my point was to buck the Kleenex-ation of Google. I don't Google things, or DDG things. I search for things

I use DDG on my non-work machines. Google is better at finding stuff for programming, particularly the random error messages.

Re: Experienced Programmers Use Google Frequently

#67
post #9

I not only use Google frequently, I use it to search for things I myself have written in the past. I can't count the number of times I've Googled for a programming question where the answer is found on a Stack Overflow page I've written. If it's a particularly old answer that I've completely forgotten, I've even thought to myself, " Wow this genius sounds just like me! "[1]. [1]: ... as well as " This idiot has no cl…

That and finding a question you've search for, only to find out that question was also posted by you years ago. Bonus for ones with no answers still.

I usually pack up for the day when that happens.

Re: Experienced Programmers Use Google Frequently

#68
Google lets you prune already-solved parts of the search space. I have a deep understanding of the technologies I work with, but that doesn't mean I remember the three lines of code that you use to slurp a file into an STL string, for example. Stuff like that isn't worth the brain space.

I guess I'm just restating the Einstein quote more verbosely, but it's absolutely true.

Re: Experienced Programmers Use Google Frequently

#69

For programmers that were coding before good search engines: what did you do when you wanted to look up an error, etc back then? Crack open a tome for the language? Just curious as I can't imagine it was easy.

The errors I need Google for are almost universally caused by third-party libraries. Back in the day, your software relied on significantly fewer third-party libraries, and/or you wrote the libraries yourself in-house. Languages had much smaller standard libraries. And, you always had direct access to the lowest levels of your system without OS interference, so you could work around or debug anything. So, I had no trouble without Internet just having K&R and manuals for whatever I was interfacing with.

Re: Experienced Programmers Use Google Frequently

#70
post #2

Another essential point here is when you get 'fancy' error messages. Google is amazing at finding why (and usually, The Patch) when you fail to compile random packages. I have my own little cross-distro builder[0] and I /rarely/ bother trying to dive into autoconf/make hell before cut+pasting the exact error message into google! That very likely saved my sanity many times over :-) Otherwise I agree with the article -…

Much like the sort algorithm that downloads and evals Stack Overflow answers until the list is sorted, someone should make a build tool that Googles any error output, installs possible patches, and restarts the build. It could even see if adding the patch caused a new error and decide whether to roll back or keep patching.
Post reply on HN