On 2019-08-03 10:16, Mats Wichmann wrote:

.....  It also comes up here:

file_count
line_count
byte_count
row_count
batch_count
job_count
error_count
warning_count

why not "files", "lines", "bytes"... the plural form already tells you
it's a counter.

To me "files", "lines", "bytes" implies collections of files, lines bytes. (i.e. arrays or tuples...)
"___count" implies an integer.
If the latter, I'd use "n_files", "n_lines" ... (possibly without the underscores if you find typing them a bother.)
Comments?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to