Just a quicky here. I’ve been reading “Practical Common Lisp” by Peter Seibel (great book by the way) and came across a really funny footnote. I think I’ll use the interviewing engineer’s response if given the chance in the future.
Here it is:
“A friend of mine was once interviewing an engineer for a programming job and asked him a typical interview question: how do you know when a function or method is too big? Well, said the candidate, I don’t like any method to be bigger than my head. You mean you can’t keep all the details in your head? No, I mean I put my head up against my monitor, and the code shouldn’t be bigger than my head.”
The system I’m currently working on has methods with hundreds of lines of code…I wish everyone would use the “head check”.
Post Footer automatically generated by Add Post Footer Plugin for wordpress.