Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ralph
on Jan 2, 2009
|
parent
|
context
|
favorite
| on:
Monte Carlo simulation of the Monty Hall Problem i...
Using floats without need adds noise to the code, e.g. the ".0"s in foo = 0.0; bar += 1.0, and makes the reader wonder why floats are being used. "What am I missing?"
litewulf
on Jan 2, 2009
[–]
Thanks, I meant that but got distracted by "oh! optimization opportunity!"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: