I&#x27;d be more than annoyed if I saw someone name a function &quot;xxInteger()&quot; because it returns an integer.<p>I don&#x27;t actually think the first example was that bad, modulo some context. Sometimes even knowing the type for this kind of thing isn&#x27;t super important to understand what the code is doing; ala opaque types.