Thanks Scot, 

I emailed Prof. Norvig to let him know of the translation and his reply was:
"Very nice! The more I see Julia, the more I like it."


On Tuesday, December 1, 2015 at 2:08:22 PM UTC+2, Scott T wrote:
>
> I saw the original a while ago and thought it was really cool. I liked 
> your translation!
>
> On Tuesday, 1 December 2015 10:50:26 UTC, Mohammed El-Beltagy wrote:
>>
>> 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