<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 9:28 AM Anders Hovmöller <<a href="mailto:boxed@killingar.net">boxed@killingar.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> The point is not saving a line or typing, but saving a thought. Expressing the intent of the factory function more clearly.<br>
<br>
Could you give some other usage examples? <br>
<br>
To me it seems like a nicer and less confusing way to create decorators is warranted but could then be more specialized and this much nicer. We wouldn't necessarily get to that future point by adding super tiny improvements to what we have, but instead take a step back and rethink what the syntax could be. Personally I often just copy paste an existing decorator and then tweak it instead of writing from scratch because it's too confusing and error prone to do that. <br></blockquote><div><br></div><div>You know what, I <i>can't</i> think of other good examples than slightly improved decorators. So, maybe its not that great an idea if it can't be applied to at least a few more use cases.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/ Anders</blockquote></div></div>