Skip to main content
better wording
Source Link
Wolf
  • 10.3k
  • 8
  • 72
  • 117

Following answer concentrates on the API design aspect

Coming back to the API design aspect

(it may not be applicable to strings, but on container classes in general)

By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

Following answer concentrates on the API design aspect

(it may not be applicable to strings, but on container classes in general)

By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

Coming back to the API design aspect

(it may not be applicable to strings, but on container classes in general)

By pure chance I found an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

neutralize, words about generalization
Source Link
Wolf
  • 10.3k
  • 8
  • 72
  • 117

Following answer concentrates on the API design aspect

What a joy!(it may not be applicable to strings, but on container classes in general)

By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

What a joy! By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

Following answer concentrates on the API design aspect

(it may not be applicable to strings, but on container classes in general)

By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

remove surplus word
Source Link
Wolf
  • 10.3k
  • 8
  • 72
  • 117

What a joy! By pure chance I found today an excellent answer to this old question. It's (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

What a joy! By pure chance I found today an excellent answer to this old question. It's (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

What a joy! By pure chance I found today an excellent answer to this old question (emphasizes mine)

What about using any()? [...]

in a completely unrelated post being the answer to the question

How do I know if a generator is empty from the start?

To contrast empty and any might be poor in English but it absolutely makes sense in API design.

Source Link
Wolf
  • 10.3k
  • 8
  • 72
  • 117
Loading