Random value

Nov 20th, 2011

Do you follow xkcd? It yes, then you mostly sure know the Random Number episode:

Image credits: http://xkcd.com/221/

I believe it is very funny and it actually happened, a few days ago, to me. Here is my ”random” code that was caught in a code review by the eager eye of a colleague:

//Pass random language. It doesn't really matter
string assemblyPath = ProxyHelper.GenerateAssembly(ProxyLanguage.CS);

And the code review comment: “Although it is hard coded to CS.  :)”

One comment

  1. Razvan Martian on December 15th, 2011 at 1:45 pm

    Hello there,

    I was just wandering if u changed your yahoo messenger id because I wan’t to talk to you because I’ve been in the US for the last 3 months also :P

Leave a comment

Please write the comment in English!

Allowed HTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>