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 -