Gods Constants and the Mysteries of the Universe


Posted

in


Scott Hanselman wonders:

My real question is, did God put these constants as a readonly field in a static constructor or a singleton pattern, or assuming parallel universes, a factory pattern?

Ingo points out some corrections and notes (absolutely hilarious). 

Some of the mysteries of the universe have been hard coded.  for example, here’s a one-line code snippet from some ugly parts of the Reality implemetation:

return 42;

Did God write tests first?