-14
All these functional languages that return the same value every time a function is called give me a headache.
Your task is to write a function that returns something different every time it is called.
Here are the rules:
Your function must continue to return something different every time it is run
It must return a different value on your computer than it does on my computer
Your function must be guaranteed to be different (no random numbers)
+20 if your code gets time from the system or an online clock
6It's impossible "to be different no matter how many times I run it" unless the value returned is infinitely large. You want want to rephrase that. – grovesNL – 2014-03-12T18:24:52.160
3-1 for changing the rules after posting, cost me 20 points...Also, use the sandbox next time – David Wilkins – 2014-03-12T18:59:24.247
@TheDoctor - Okay.... I am happy to change it if someone else comes uo with something shorter - what is the normal etiquette for picking answers? – jcw – 2014-03-12T21:55:08.370
2Give people 24 hours at bare minimum. Ideally a contest should be measured in multiple days, not hours. Remember the site has an international audience, so some people may have been asleep for the entire life of the question if you end it after a few hours. As the current accepted answer, I myself think it was too soon for me to win. And there are already shorter answers. – Jonathan Van Matre – 2014-03-12T22:19:17.420
@jcw accepting an answer early and changing rules after an answer is submitted....dirty pool man – David Wilkins – 2014-03-13T03:51:00.410
1Just saw this one now. My answer would have been a statistical
md5sum /dev/sda
– Digital Trauma – 2014-03-14T06:43:46.743