<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 24, 2016, at 12:04 AM, Xiaodi Wu <<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On Fri, Jun 24, 2016 at 12:59 AM, William Shipley via swift-evolution <span dir="ltr" class=""><<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>></span> wrote:<br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Here are some of my real-world examples:<div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal" class=""><span class=""> </span><span style="color:#bb2ca2" class="">for</span><span class=""> modelUUIDAndInterfaceElement </span><span style="color:#bb2ca2" class="">in</span><span class=""> </span><span style="color:#4f8187" class="">modelUUIDsToInterfaceElements</span><span class=""> </span><span style="color:#bb2ca2" class="">where</span><span class=""> !usedInterfaceElements.</span><span style="color:#3d1d81" class="">contains</span><span class="">(modelUUIDAndInterfaceElement.</span><span style="color:#272ad8" class="">1</span><span class="">) {</span></div></div></div></blockquote><div class=""><br class=""></div><div class="">Not a practitioner of 80-character line limits, I take it?</div></div></div></div></div></blockquote><div><br class=""></div>80-character line limits aren't why these examples are problematic for me.</div><div>Other than a few positive examples like this wall.anchors one, </div><div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""> <span class=""> </span><span class="" style="color: rgb(187, 44, 162);">for</span><span class=""> anchor </span><span class="" style="color: rgb(187, 44, 162);">in</span><span class=""> wall.</span><span class="" style="color: rgb(79, 129, 135);">anchors</span><span class=""> </span><span class="" style="color: rgb(187, 44, 162);">where</span><span class=""> boundsRect.</span><span class="" style="color: rgb(61, 29, 129);">contains</span><span class="">(anchor.</span><span class="" style="color: rgb(79, 129, 135);">origin</span><span class="">) {</span></div></div></div></div></blockquote><div><br class=""></div><div>most of these read as if there is too much logic stuffed into a single line:</div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><span class="" style="color: rgb(187, 44, 162);">for</span> otherWall: <span class="" style="color: rgb(79, 129, 135);">Wall</span> <span class="" style="color: rgb(187, 44, 162);">in</span> <span class="" style="color: rgb(187, 44, 162);">self</span> <span class="" style="color: rgb(187, 44, 162);">where</span> otherWall != wall && !removedWalls.<span class="" style="color: rgb(61, 29, 129);">contains</span>(otherWall) {</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><br class=""></div></blockquote><div class=""><span class=""><div style="margin:0px;line-height:normal" class=""> <span class="" style="color: rgb(187, 44, 162);">for</span> otherPieceOfFurnitureNode <span class="" style="color: rgb(187, 44, 162);">in</span> localFurnitureModelUUIDsToInterfaceElements!.<span class="" style="color: rgb(112, 61, 170);">values</span> <span class="" style="color: rgb(187, 44, 162);">where</span> otherPieceOfFurnitureNode !== pieceOfFurnitureNode {</div></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><span class=""><div class=""><br class=""></div></span></div></blockquote><div class=""><span class=""><div class=""><span class=""> <span style="color:#bb2ca2" class="">for</span> lineSegmentObject <span style="color:#bb2ca2" class="">in</span> wallRelatedLineSegments <span style="color:#bb2ca2" class="">where</span> remainingLineSegments.<span style="color:#3d1d81" class="">contains</span>(lineSegmentObject) {</span></div></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><span class=""><div class=""><br class=""></div></span></div></blockquote><div class=""><span class=""><div class=""><span class=""> <span style="color:#bb2ca2" class="">for</span> colinearLineSegmentObject <span style="color:#bb2ca2" class="">in</span> remainingLineSegments <span style="color:#bb2ca2" class="">where</span> colinearLineSegmentObject.<span style="color:#4f8187" class="">angle</span>.<span style="color:#31595d" class="">isEssentially</span>(infiniteLineAngle: lineSegmentObject.<span style="color:#4f8187" class="">angle</span>) {</span></div></span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><span class=""><div class="">…</div></span></div></blockquote></div></blockquote></div></div></div></blockquote><br class=""></div><div>-- E</div><div><br class=""></div><br class=""></body></html>