Steven D'Aprano wrote:

def a(x=4)
    x+2
end

a + b => 7
a+b   => 7
a+ b  => 7
a +b  => 3

A shiny new penny for any non-Ruby coder who can explain that!

Seems pretty obvious to me: the Ruby interpreter is
infested with demons.

DWIM = Demonic Whim Infers Meaning

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to