3 ms·
Stopped reading here: "Good example: daysFromDateRangeStartToEnd".
by babo 17y ago
Stopped reading here: "Good example: daysFromDateRangeStartToEnd".
- mrduncan 17y agoSeems like the author didn't take his own advice - "2.- The variable name has to be as short as possible."
- albertoG 17y agoHi babo, you are absolutely right with your observation, that variable name its just a bad example, I have just edited the post and I have changed its name to daysDateRange. Thanks for your feedback
- pwim 17y agoNeither your original daysFromDateRangeStartToEnd nor daysDateRange seem to capture what it is supposed to represent. Perhaps if it was seen in context, it would be understandable, but by itself I do not think it is a good example.