Jacek Laskowski 57 Posted November 29, 2018 Quote:  unit System.Generics.Defaults; [...] function GetHashCode_Class(Inst: PSimpleInstance; const Value: TObject): Integer; begin if Value = nil then Result := 42 else Result := Value.GetHashCode; end; What is this? Why 42? 🙂   ps. Delphi Tokyo, maybe other too Share this post Link to post
Neutral General 15 Posted November 29, 2018 (edited) Because 42 is the answer to the ultimate question of life, the universe and everything Edited November 29, 2018 by Sherlock It is a bit more than just everything. 3 Share this post Link to post
Markus Kinzler 174 Posted November 29, 2018 Was done on "Towel Day". 1 1 Share this post Link to post
David Heffernan 2345 Posted November 29, 2018 (edited) That value is as good as any other value. It just has to adhere to the rule that the same value is returned every time when the same input value is supplied. Edited November 29, 2018 by David Heffernan 1 Share this post Link to post
santiago 36 Posted December 4, 2018 42 in binary is 101010 Maybe that is why they chose that number. Just a guess though... Share this post Link to post
David Heffernan 2345 Posted December 4, 2018 50 minutes ago, santiago said: 42 in binary is 101010 Maybe that is why they chose that number. Just a guess though... Why not 10101010? Or 1010101010? Or 1010? Or 10? Share this post Link to post
Sue King 5 Posted December 5, 2018 Wow ! Surely as good an answer as possible. Share this post Link to post
Jacek Laskowski 57 Posted December 6, 2018 "The number 42 is, in The Hitchhiker's Guide to the Galaxy by Douglas Adams, the "Answer to the Ultimate Question of Life, the Universe, and Everything", calculated by an enormous supercomputer named Deep Thought over a period of 7.5 million years. "  Yes, I was looking for that! 🙂 Share this post Link to post
haentschman 92 Posted December 6, 2018 (edited) Hi... ...one is still missing. The film https://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy_(film) Â cutout https://www.youtube.com/watch?v=aboZctrHfK8 Edited December 6, 2018 by haentschman Share this post Link to post
Rudy Velthuis 91 Posted February 7, 2019 (edited) On 12/5/2018 at 5:02 PM, Tom Chamberlain said: It is all explained here You meant " The angle rounded to whole degrees for which a rainbow appears (the critical angle). ", right? 🌈🦄  Edited February 7, 2019 by Rudy Velthuis Everything for or users Share this post Link to post