4 ms·
I think the OR operator comes from set theory and has nothing to do with the low-level boolean flag fieldsets.
by heavenlyblue 7y ago
I think the OR operator comes from set theory and has nothing to do with the low-level boolean flag fieldsets.
- fulafel 7y agoI looked up set theory a couple of places (WP[1] and Britannica[2]) and didn't find any references of the OR operator in this context.. do you have a link? [1] https://en.wikipedia.org/wiki/Algebra_of_sets https://en.wikipedia.org/wiki/Algebra_of_sets [2] https://www.britannica.com/science/set-theory/Operations-on-sets https://www.britannica.com/science/set-theory/Operations-on-...
- housecarpenter 7y agoThe analogue of the OR operator in set theory is the union operator. People think of them as basically the same thing because of the correspondence between a property and the set of things with that property. If A is the property of being either B or C, then the set of the things that are A is the union of the set of things that are B and the set of things that are C.