News for hackers. Stuff that matters.
Re:Why bother to remember when you can just use Google? by raganwald on Thursday July 14, 2011 @04:12PM (#2764862)
Chris Crawford, the author of the brilliant (for its time) game "Balance of Power," wrote a book about the game and his design process. In it, he pointed out that the simple facts encodedc in the game--such as the GDP of Ghana or the number of troops in Mali--were unimportant, but the relationship between the facts, the cause and effect between actions countries take and the facts, those were the important things to understand.

Thsi comes up all the time when discussion programmer intervies. No, there is no point in asking if somone has memorized something they can find in Google. But their is a point in asking questions to elicit their understanding of the relationships, correlations, causes, and effects between the facts. Being able to Google the answer to a relationship is not the same thing as understanding a relationship directly.

Re:Why bother to remember when you can just use Google? by arctangent on Thursday July 14, 2011 @08:51PM (#2765852)
Wow! I'd completely forgotten about this game. Thanks for the reminder :-)
Re:Why bother to remember when you can just use Google? by onemoreact on Thursday July 14, 2011 @05:49PM (#2765310)
The problem with "known" facts is they often extreamly context specific. There are actually a wide range of interview questions where I would much rather have someone say "I don't know" than say a correct answer without aproprate qualifications. Because even something as basic as how large is an int is can quickly lead to a bug when someone assumes the usual rules still apply.
Re:Why bother to remember when you can just use Google? by natesm on Thursday July 14, 2011 @07:30PM (#2765627)
> Because even something as basic as how large is an int is can quickly lead to a bug when someone assumes the usual rules still apply.

Would someone actually ask this and expect a numerical response? The only correct answer is sizeof(int), right?

Re:Why bother to remember when you can just use Google? by dionidium on Thursday July 14, 2011 @07:37PM (#2765652)
The sizes of primitives in C are implementation defined, but the sizes of primitives in some other languages (e.g. Java) are defined by the specification.
Re:Why bother to remember when you can just use Google? by natesm on Thursday July 14, 2011 @07:53PM (#2765690)
That's true, I was purely thinking in C there.
Re:Why bother to remember when you can just use Google? by JoshTriplett on Thursday July 14, 2011 @09:00PM (#2765879)
In C, it still applies when you use the stdint.h sized types, such as uint32_t and uint64_t.
Re:Why bother to remember when you can just use Google? by JoshTriplett on Thursday July 14, 2011 @08:57PM (#2765869)
This seems like a case where recognition matters more than memorization. On occasion, it can come in handy to memorize that on most modern 32-bit systems, INT_MAX == 2147483647. More often, it can come in handy to see that number or something close to it pop out in an unexpected place and immediately think "huh, that's (close to) INT_MAX". The same thing applies to 4294967295, 1048576, 65536, and the ASCII codes of various common characters.