Re:Translating Mathematics into Code: Examples in Java, Pyth...
by jameshart on Tuesday February 10, 2015 @10:56AM
(#9027901)
Right - my point was more in the context of the idea that to correctly translate that mathematical concept to code you are doing it wrong if you use mutation. If a mathematical algorithm you're implementing contains a summation, you're not fundamentally misrepresenting the underlying mathematical purity if you implement it as a for loop with an accumulator.
[ Parent
| on HN ]
There are no comments on this comment yet.