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
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
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
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
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
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
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
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
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 -
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
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
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
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
13 matches
Mail list logo