Ayende @ Rahien

Hi!
My name is Ayende Rahien
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:

ayende@ayende.com

+972 52-548-6969

@

Posts: 5,947 | Comments: 44,540

filter by tags archive

Interview Questions From Hell: Take IV


It somehow came up in chat today, and it occurs to me that this is yet another great question that I probably will never ask in an interview:

Tell me how System.Object.GetHashCode() works, here is a computer with net connection, google away.

Personally, it took me 11 minutes to find how the implementation worked, and another seven to find it.

Possible reactions:

  • Candidate faints -> Good timing, would've waste my time staying up and talking
  • Cadidate explains that he doesn't care about such things -> and if he can convince me that he doesn't care for the right reasons, excellent.
  • Canidate hazzard a guess that is not even remotedly close to the truth, like serializing the object to binary and hashing that -> interesting approach, remind me to send a perf team to your next employer :-)
  • Candidate explains that they don't know, but give a reasonable alternative for it -> nice
  • Candidate goes and find the implementation -> good, now explain it to me :-)
  • Candidate gives the answer of the top of their head -> dude, if you weren't on the BCL team, you are wierd

Hm, I wasn't on the BCL team, so this make me wierd... Maybe I should rethink this approach

 


Comments

Comment preview

Comments have been closed on this topic.

FUTURE POSTS

No future posts left, oh my!

RECENT SERIES

  1. RavenDB Sharding (2):
    21 May 2015 - Adding a new shard to an existing cluster, the easy way
  2. The RavenDB Comic Strip (2):
    20 May 2015 - Part II – a team in trouble!
  3. Challenge (45):
    28 Apr 2015 - What is the meaning of this change?
  4. Interview question (2):
    30 Mar 2015 - fix the index
  5. Excerpts from the RavenDB Performance team report (20):
    20 Feb 2015 - Optimizing Compare – The circle of life (a post-mortem)
View all series

RECENT COMMENTS

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats