Recently I came across a beautiful notebook by Peter Norvig about 
Probability Paradoxes. 
It was done in Python and I decided to see if I could convert it to Julia. 
It was such a satisfying exercise and really showed the power of Julia 
multiple dispatch and its elegance. There were naturally fewer library 
imports and in my mind the code is more readable. Also the it was 
interesting to contrast Python's mode of OO vs. Julia's. The Julia code was 
only slightly more verbose, but it seemed clearer to me. 

You could check out my Julia translation at 
http://nbviewer.ipython.org/gist/mbeltagy/3ba5f77da6382da192c3
and contrast it with the original at 
http://nbviewer.ipython.org/url/norvig.com/ipython/Probability.ipynb

Reply via email to