by codeflo · 2y ago · 0 comments
The exception, imo, is functions that take boolean arguments. Languages should make it easy to show what they mean, and devs should take care to explain them.
sort(reverse=true, numeric=false) is much easier to read than sort(true, false).
(Silly example, it's meant to illustrate the general point, not to say anything about the signature of a sort() function.)
But that said, I see no reason that someone couldn't learn to parse notX as fluently as I parse !X. I suppose it's one of those fashions that change with the times. Probably a big reason that I stick to good old C a lot of the time.