in reply to Re^4: results from pairs combination
in thread results from pairs combination
it's good practice to use a name that's very suggestive to the maintenance programmer of what's going on
Right. But, imho, there is no difference between ajskdl and jaksld — they're both meaningless. When composing this code, there's no way I could have predicted either method name; I had to read the man page to get them. I don't believe that the situation would be significantly different for a maintenance programmer; she would still have to familiarize herself with the documentation of either method to know what it's about. As it was, I had to grok the documentation of dozens of methods from Graph before I had any confidence which one(s) might best suit the need here. It's essentially a question of information content, and that is very much in the mind of the consumer. For someone (such as myself) who doesn't know what "weakly" means in this context, weakly_connected_components means precisely as much as ajskdl_connected_components, which means as much as connected_components. Even an argument about "extra typing" is spurious, since I copy-and-pasted the names.
|
|---|