defmodule Math do
def sum(a, b) do
a+b
end
end
Compare that with Python: def sum(a, b):
return a+b
Having the name of the file be the name of the module and whitespace defining the blocks is the perfect approach for me.