When I ran mix format on the lib/animals.ex file (elixir v1.9), it added brackets to functions with no params in function definitions:
Given that this is code we have told people to write in the readme, should we update it to include the () after Animals.create_zoo and Animals.randomise() for consistency with the latest conventions on this?
When I ran
mix format
on thelib/animals.ex
file (elixir v1.9), it added brackets to functions with no params in function definitions:Given that this is code we have told people to write in the readme, should we update it to include the
()
afterAnimals.create_zoo
andAnimals.randomise()
for consistency with the latest conventions on this?