Elixir's String.capitalize/2 function "converts the first character in the given string to uppercase and the remainder to lowercase". Would it not be more intuitive to capitalize the first character and leave the remaining characters unchanged? Maybe there is some reasoning I am missing?
The current implementation results in the local ATM -> The local Atm, forgotten PIN -> Forgotten Pin etc.