Re: [Tutor] Name for this type of class?

2019-08-06 Thread Roel Schroeven
Mats Wichmann schreef op 3/08/2019 om 19:16: file_count line_count byte_count ... why not "files", "lines", "bytes"... the plural form already tells you it's a counter. Opinions, we all have 'em :) We do, and in this case I strongly disagree with yours :) To me a plural indicates a

Re: [Tutor] Name for this type of class?

2019-08-04 Thread Alan Gauld via Tutor
On 04/08/2019 09:15, Alan Gauld via Tutor wrote: >>> Classes should never be named for their data but for their function. > I was not suggesting that a class name should be a verb, I think my biggest mistake here was the use of the word "function" which, in a programming community, has a very

Re: [Tutor] Name for this type of class?

2019-08-04 Thread Alan Gauld via Tutor
On 04/08/2019 04:44, David L Neil wrote: >> Classes should never be named for their data but for their function. >> What does this class do? What operations does it support. > > > This statement caused me to double-take. Do I misunderstand? I suspect so, thats why I wrote my follow up. I was

Re: [Tutor] Name for this type of class?

2019-08-03 Thread David L Neil
NB am heading somewhat OT NBB Python3+ On 3/08/19 12:38 PM, Alan Gauld via Tutor wrote: On 03/08/2019 00:47, Malcolm Greene wrote: Anyways, I'm looking for help coming up for the proper name for a class that collects the following type of telemetry data Classes should never be named for

Re: [Tutor] Name for this type of class?

2019-08-03 Thread Alan Gauld via Tutor
On 03/08/2019 17:56, Malcolm Greene wrote: >... interesting thoughts including Alan's "classes should never be named > for their data but for their function" feedback. I'm going to have to > noodle on that one. Let me expand slightly. Go back to the fundamentals of OOP. OOP is about programs

Re: [Tutor] Name for this type of class?

2019-08-03 Thread Richard Damon
On 8/3/19 1:40 PM, Alex Kleider wrote: > 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

Re: [Tutor] Name for this type of class?

2019-08-03 Thread Alex Kleider
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

Re: [Tutor] Name for this type of class?

2019-08-03 Thread Mats Wichmann
On 8/3/19 10:56 AM, Malcolm Greene wrote: > Thanks for everyone's feedback. Some interesting thoughts including Alan's > "classes should never be named for their data but for their function" > feedback. I'm going to have to noodle on that one. Good stuff! And more: if the class is really just

Re: [Tutor] Name for this type of class?

2019-08-03 Thread Malcolm Greene
Thanks for everyone's feedback. Some interesting thoughts including Alan's "classes should never be named for their data but for their function" feedback. I'm going to have to noodle on that one. Good stuff! Malcolm ___ Tutor maillist -

Re: [Tutor] Name for this type of class?

2019-08-02 Thread Alex Kleider
On 2019-08-02 16:47, Malcolm Greene wrote: They same naming is one of the two biggest challenges when it comes to software. Or one of three if you count the "off-by-one" joke :) Anyways, I'm looking for help coming up for the proper name for a class that collects the following type of telemetry

Re: [Tutor] Name for this type of class?

2019-08-02 Thread Alan Gauld via Tutor
On 03/08/2019 00:47, Malcolm Greene wrote: > Anyways, I'm looking for help coming up for the proper name for a class that > collects the following type of telemetry data Classes should never be named for their data but for their function. What does this class do? What operations does it

Re: [Tutor] Name for this type of class?

2019-08-02 Thread Cameron Simpson
On 02Aug2019 17:47, Malcolm Greene wrote: They same naming is one of the two biggest challenges when it comes to software. Or one of three if you count the "off-by-one" joke :) Anyways, I'm looking for help coming up for the proper name for a class that collects the following type of

[Tutor] Name for this type of class?

2019-08-02 Thread Malcolm Greene
They same naming is one of the two biggest challenges when it comes to software. Or one of three if you count the "off-by-one" joke :) Anyways, I'm looking for help coming up for the proper name for a class that collects the following type of telemetry data that we use for operational