Beautiful demo. This should be our game, yet others are playing it :(. Doru On Sat, Mar 29, 2014 at 11:31 AM, Sven Van Caekenberghe <sven@stfx.eu>wrote:
On 29 Mar 2014, at 10:38, Sven Van Caekenberghe <sven@stfx.eu> wrote:
This is a nice write down:
http://www.chris-granger.com/2014/03/27/toward-a-better-programming/
with a nice demo of a prototype:
https://www.youtube.com/watch?v=L6iUm_Cqx2s
Luckily, the horrible C++ code computing standard deviation in the article can be written quite elegantly and directly in Pharo:
| input | input := #(2 4 4 4 5 5 7 9). (((input - input average) raisedTo: 2) sum / (input size - 1)) sort.
Sven
Damn spelling correction ;-)
| input | input := #(2 4 4 4 5 5 7 9). (((input - input average) raisedTo: 2) sum / (input size - 1)) sqrt.
-- www.tudorgirba.com "Every thing has its own flow"