fgl icon indicating copy to clipboard operation
fgl copied to clipboard

Replace noNodes with numNodes?

Open tomjaguarpaw opened this issue 8 years ago • 3 comments

Is there any chance that numNodes could be added as a synonym for noNodes (and perhaps noNodes deprecated)?

noNodes really looks like "no nodes" and intuitively seems to suggest a Bool valued function which tells you whether there are no nodes in the graph!

tomjaguarpaw avatar Nov 02 '16 10:11 tomjaguarpaw

Yeah, I've been bitten by this before. My preference however is yo use order instead.

ivan-m avatar Nov 02 '16 20:11 ivan-m

order is better than noNodes though perhaps less familiar to people who haven't studied graph theory.

tomjaguarpaw avatar Nov 02 '16 20:11 tomjaguarpaw

I prefer numNodes to order, but either is fine, and both are much better than noNodes (I had the same noNodes means empty confusion the first time I scanned the docs).

ntc2 avatar Apr 26 '17 02:04 ntc2