<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></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 Apr 15, 2017, at 3:28 PM, Thorsten Seitz &lt;<a href="mailto:tseitz42@icloud.com" class="">tseitz42@icloud.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div dir="auto" class=""><div class=""><div class=""><div class="">Here is another example:</div></div><div class=""><br class=""></div><div class=""><div class=""><div class=""><font face="Menlo" class=""><span class="" style="font-size: 11px;"><span class="Apple-tab-span" style="white-space: pre;">        </span>case .isExprSameType(let from, let to):</span></font></div></div><div class=""><div class=""><font face="Menlo" class=""><span class="" style="font-size: 11px;"><span class="Apple-tab-span" style="white-space: pre;">                </span>return """</span><font color="#d12f1b" class=""><span class="" style="font-size: 11px;">checking a value with optional type&nbsp;</span></font><font color="#1a04ff" class="" style="font-size: 11px;">\(</font><font color="#00ab00" class="" style="font-size: 11px;"><b class="">from</b></font><font color="#1a04ff" class=""><span class="" style="font-size: 11px;">)</span></font><span class="" style="font-size: 11px;">&nbsp;</span></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span></div><div class=""><span class="Apple-tab-span" style="font-family: Menlo; font-size: 11px; white-space: pre;">                        </span><span class="" style="font-family: Menlo; font-size: 11px;">&nbsp;&nbsp;</span><font color="#d12f1b" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">against dynamic type</span></font><span class="" style="font-family: Menlo; font-size: 11px;">&nbsp;</span><font color="#1a04ff" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">\(</span></font><font color="#00ab00" class="" style="font-family: Menlo; font-size: 11px;"><b class="">to</b></font><font color="#1a04ff" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">) \</span></font></div><div class=""><font face="Menlo" class=""><span class="Apple-tab-span" style="font-size: 11px; white-space: pre;">                        </span><span class="" style="font-size: 11px;">&nbsp;&nbsp;</span><font color="#d12f1b" class=""><span class="" style="font-size: 11px;">succeeds whenever the value is non-'nil';&nbsp;</span></font></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span></div><div class=""><span class="Apple-tab-span" style="font-family: Menlo; font-size: 11px; white-space: pre;">                        </span><span class="" style="font-family: Menlo; font-size: 11px;">&nbsp;&nbsp;</span><font face="Menlo" class=""><font color="#d12f1b" class=""><span class="" style="font-size: 11px;">did you mean to use '!= nil'?</span></font></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span></div><div class=""><span class="Apple-tab-span" style="font-family: Menlo; font-size: 11px; white-space: pre;">                        </span><span class="" style="font-family: Menlo; font-size: 11px;">&nbsp;&nbsp;</span><span class="" style="font-family: Menlo; font-size: 11px;">"""</span></div></div></div><div class=""><br class=""></div></div></div></div></div></blockquote><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">This only works because the lines have been indented by hand to match correctly which would not be the case with standard indentation used in a code editor which is a fixed multiple of spaces or tabs: the example had to add 2 spaces to the 2 tabs in this example to fix the indentation (requiring 8-space-tabs). In reality the example would look like follows (assuming 4-space-indentation but the problem is the same for other indentations):</div><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="" style="font-size: 11px; font-family: Menlo;">case .isExprSameType(let from, let to):</span><br class=""><font face="Menlo" class=""><span class="" style="font-size: 11px;">&nbsp; &nbsp; return """</span><font color="#d12f1b" class=""><span class="" style="font-size: 11px;">checking a value with optional type&nbsp;</span></font><font color="#1a04ff" class="" style="font-size: 11px;">\(</font><font color="#00ab00" class="" style="font-size: 11px;"><b class="">from</b></font><font color="#1a04ff" class=""><span class="" style="font-size: 11px;">)</span></font><span class="" style="font-size: 11px;">&nbsp;</span></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span><br class=""><font color="#d12f1b" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">&nbsp; &nbsp; &nbsp; &nbsp; against dynamic type</span></font><span class="" style="font-family: Menlo; font-size: 11px;">&nbsp;</span><font color="#1a04ff" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">\(</span></font><font color="#00ab00" class="" style="font-family: Menlo; font-size: 11px;"><b class="">to</b></font><font color="#1a04ff" class="" style="font-family: Menlo;"><span class="" style="font-size: 11px;">) \</span></font><br class=""><font face="Menlo" class=""><font class=""><span class="" style="color: rgb(209, 47, 27); font-size: 11px;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;succeeds whenever the value is non-'nil';&nbsp;</span></font></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span><br class=""><font face="Menlo" class=""><font color="#d12f1b" class=""><span class="" style="font-size: 11px;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;did you mean to use '!= nil'?</span></font></font><span class="" style="color: rgb(26, 4, 255); font-family: Menlo; font-size: 11px;">\</span><br class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div dir="auto" class=""><div class=""><div class=""><div class=""><div class=""><span class="" style="font-family: Menlo; font-size: 11px;"><span class="" style="color: rgb(209, 47, 27);">&nbsp; &nbsp; &nbsp; &nbsp;</span><span class="" style="color: rgb(209, 47, 27);">&nbsp;</span>"""</span></div></div></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>That is perfectly fine too. I don't find this style confusing. &nbsp;The 2nd, 3rd and 4th lines are stripped of their indentation according to the closing delimiter. And that is it.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div dir="auto" class=""><div class=""><div class="">I personally do not find this style confusing at all.<span class="Apple-converted-space">&nbsp;</span></div></div></div></div></div></blockquote><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">The confusion arises over the leading newline: why does text directly following the opening triple quote have a newline while an empty line after the opening triple quote does not have a newline?</div></div></div></div></blockquote><div><br class=""></div>I think it is a good thing to have&nbsp;<b class="">the</b> <b class="">option</b> to start the line of text immediately after the opening delimiter or on the next line.</div><div><br class=""></div><div>Regards,</div><div>Ricardo</div><div><br class=""></div></body></html>