<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 Dec 6, 2015, at 12:17 PM, Per Melin &lt;<a href="mailto:p@greendale.se" class="">p@greendale.se</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On Sat, Dec 5, 2015 at 7:15 PM, Chris Lattner <span dir="ltr" class="">&lt;<a href="mailto:clattner@apple.com" target="_blank" class="">clattner@apple.com</a>&gt;</span> wrote:<br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Further, it is important to consider whether the code written using this will actually be *better* than the code written with these things as statements.&nbsp; For example, the “switch” blocks tend to be very large, and turning them into expressions encourages additional indentation.</blockquote><div class=""><br class=""></div><div class="">If you give functions implicit return at the same time – as in Haskell, Erlang, Scala, Rust, Ruby, Lisp/Scheme/Clojure, etc – &nbsp;there would be no need for additional indentation half of the time.</div></div></div></div></div></blockquote><div><br class=""></div><div>This isn’t something that I’m personally interested in. &nbsp;I think that it is *feature* of swift that statements an declarations start with keywords. &nbsp;This greatly simplifies the grammar in various ways, and allows declmodifiers to be introduced without taking keywords space. &nbsp;</div><div><br class=""></div><div>For example, relevant to this proposal, if/when we support “tail return foo()" for example, you don’t want to take “tail” as a keyword to make “tail foo()” work.</div><div><br class=""></div><div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">Not even Slava Pestov would factor Swift that aggressively.</div></div></div></div></blockquote><br class=""></div><div>Underestimating Slava is not a good idea! :-)</div><div><br class=""></div><div>-Chris</div></div><br class=""></body></html>