3 ms·
> Unfair comparison, your Elixir example includes a module definition. Huh? TekMol explicitly points out that the python code also includes a module definition
by thaumasiotes 3y ago
> Unfair comparison, your Elixir example includes a module definition.
Huh? TekMol explicitly points out that the python code also includes a module definition. It's just that the python module definition takes up zero characters in the source file. (Note that this is not always true, but in this case it is.)
It takes more than that, in the name of the file, but the Elixir file will also have to have a name, and the comparison ignores both of those equally.