Re:Write logic, not mechanics
by stcredzero on Thursday April 19, 2012 @08:23PM
(#3865895)
I was thinking about promises, because I just wrote a procedurally generated universe in Javascript with over 2^100 locations. To do the procedural generation correctly, the Math.random() function has to be called in the same order every time for generating each "sector." I had used promises in Smalltalk, but never found an application super for them and was thinking that promises would be a way to code this cleanly.
[ Parent
| on HN ]
There are no comments on this comment yet.