Actually, at least where I'm from, it wouldn't be a comma, it'd be a bar: ∀ x ∈ X | x > 0.
Moreover, as has been pointed out, the use of 'where' in math is also not universally loved. On Mon, Jun 13, 2016 at 11:03 Charlie Monroe <[email protected]> wrote: > `while`, `until` and `unless` all implicate that the loop should break > when the condition (or its negation) is met. > > On the other hand, `where` as it is seems logical to me. Anyone who > considers serious coding is likely to have basic knowledge of mathematics, > so something such as > > ∀x ∈ X, x > 0 > > which translates into > > for x in X where x > 0 > > in Swift, which is pretty much how you'd read the mathematical statement. > Yes, there is a comma, not `where` in the formula but when reading, you say > "where" (unless you say "every x greater than zero"). > > > On Jun 13, 2016, at 5:26 PM, Erica Sadun <[email protected]> wrote: > > > > > >> On Jun 13, 2016, at 9:23 AM, let var go via swift-evolution < > [email protected]> wrote: > >> > >> I am 100% with Charlie on this. Expressiveness has to do with the > *effectiveness* of conveying a thought or a feeling. > >> > >> Keep "where". It is expressive. It conveys a specific idea effectively > and concisely. > > > > For those of you in favor of retaining `where`, how do you feel about > adding `while`, `until`, `unless`, etc? > > > > -- E > > > >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
