title: Why does Elixir's String.capitalize() function lowercase remaining letters?
body: <p>Elixir's <a href="https://hexdocs.pm/elixir/String.html#capitalize/2" rel="nofollow noreferrer"><code>String.capitalize/2</code></a> function &quot;converts the first character in the given string to uppercase and the remainder to lowercase&quot;. 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?</p>
  <p>The current implementation results in <code>the local ATM</code> -&gt; <code>The local Atm</code>, <code>forgotten PIN</code> -&gt; <code>Forgotten Pin</code> etc.</p>