pyt...@bdurham.com writes:
> Looking for your opinions on how you name your functions and
> methods. Example: I have a function that hashes a file. I could
> name this function hash_file() or file_hash().
I'd prefer just ‘hash’. The function name can be considered an action
verb, with its argumen
On 8 July 2014 15:59, wrote:
>
> Looking for your opinions on how you name your functions and methods.
> Example: I have a function that hashes a file. I could name this function
> hash_file() or file_hash(). The 1st naming convention sounds more natural,
> the 2nd naming convention allows one
Looking for your opinions on how you name your functions and
methods. Example: I have a function that hashes a file. I could
name this function hash_file() or file_hash(). The 1st naming
convention sounds more natural, the 2nd naming convention
allows one to group related functions together by the