Hacker News new | ask | show | jobs
by TAForObvReasons 2650 days ago

    mu = mu + (x - mu) / (i+1)
This is more natural when written in C:

    mu += (x - mu) / (i+1)