On Fri, Jun 24, 2016 at 12:59 AM, William Shipley via swift-evolution <
[email protected]> wrote:

> Here are some of my real-world examples:
>
>         for modelUUIDAndInterfaceElement in modelUUIDsToInterfaceElements
> where !usedInterfaceElements.contains(modelUUIDAndInterfaceElement.1) {
>

Not a practitioner of 80-character line limits, I take it?


> …
>
>         }
>
>         for anchor in wall.anchors where boundsRect.contains(anchor.origin)
> {
>
> …
>
>         }
>
>         for otherWall: Wall in self where otherWall != wall &&
> !removedWalls.contains(otherWall) {
>
> …
>
>         }
>
>         for wall in self as Set<Wall> {
>             for otherWall in self as Set<Wall> where otherWall != wall {
>
> …
>
>             }
>         }
>
>         for wall in self as Set<Wall> where !checkedWalls.contains(wall) {
>
> …
>
>         }
>
> (x2 on that one)
>
>         for otherPieceOfFurnitureNode in
> localFurnitureModelUUIDsToInterfaceElements!.values where
> otherPieceOfFurnitureNode !== pieceOfFurnitureNode {
>
> …
>
>         }
>
>         for lineSegmentObject in wallRelatedLineSegments where
> remainingLineSegments.contains(lineSegmentObject) {
>
> …
>
>         }
>
>         for colinearLineSegmentObject in remainingLineSegments where
> colinearLineSegmentObject.angle.isEssentially(infiniteLineAngle:
> lineSegmentObject.angle) {
>
> …
>
>         }
>
>
> I think this is basically as many as are found on all of github?
>
> -W
>
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to