[Python-ideas] strings as iterables - from str.startswith taking any iterator instead of just tuple
Stephen J. Turnbull
stephen at xemacs.org
Fri Jan 3 16:54:17 CET 2014
Masklinn writes:
> I’ve used some sort of ad-hoc version of it enough that I think it’s
> a good idea, although I’d suggest “scalar”: “atomic” also
> exists (with very different semantics) in concurrency contexts, whereas
> I believe scalar always means single-value (non-compound) data type.
Sure, but if you're a Unicode geek "scalar" essentially means
"character", so a string ain't that!
Seriously, all the good words have been taken two or three times
already in some other field. Pick one and don't worry about the
overloading -- learning to spell English is *much* harder.
More information about the Python-ideas
mailing list