Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

the main cause here is that randomness is hard to test so that code was just assumed to be correct. With randomness you can never be sure, http://www.random.org/analysis/


Yes, but... (int)Math.random() always returns zero. A little suspicious.


You can never be sure the next one won't be a 1!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: