<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="">I disagree about the back-conversion being different. I would've just as easily made a property in CasualAnswer that returns a Bool. The fact that its implemented as an extension of Bool is purely cosmetic and avoids namespace clutter.<div class=""><div class=""><br class=""></div><div class="">Also, it doesn't make sense to add semantics to the grouping based on the usage of the interface. If the interface is supposed to be used internally, there are access modifiers for that.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 2, 2017, at 8:38 PM, Taylor Swift <<a href="mailto:kelvin13ma@gmail.com" class="">kelvin13ma@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">i would have written it like this <<a href="https://gist.github.com/kelvin13/ba42b620f80ee94fbb0d0841056aac97" class="">https://gist.github.com/kelvin13/ba42b620f80ee94fbb0d0841056aac97</a>><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Aug 2, 2017 at 12:34 PM, Gor Gyolchanyan <span dir="ltr" class=""><<a href="mailto:gor.f.gyolchanyan@icloud.com" target="_blank" class="">gor.f.gyolchanyan@icloud.com</a>></span> wrote:<br class=""><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=""><div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 2, 2017, at 7:31 PM, Tino Heth <<a href="mailto:2th@gmx.de" target="_blank" class="">2th@gmx.de</a>> wrote:</div><br class="m_-9179372540974286221Apple-interchange-newline"><div class=""><div style="word-wrap:break-word" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap:break-word" class=""><div class="">Consider these two alternative ways of writing the same code:</div><div class=""><a href="https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa" target="_blank" class="">https://gist.github.com/<wbr class="">technogen-gg/<wbr class="">17b6d5e13c13080850dceda28cfe1c<wbr class="">aa</a></div></div></div></blockquote><br class=""></div><div class="">Great example — the first is better.</div><div class="">But not because of extensions: </div><div class=""><span class="m_-9179372540974286221pl-c" style="box-sizing:border-box;color:rgb(106,115,125);font-family:SFMono-Regular,Consolas,'Liberation Mono',Menlo,Courier,monospace;white-space:pre-wrap">//</span><span style="color:rgb(106,115,125);font-family:SFMono-Regular,Consolas,'Liberation Mono',Menlo,Courier,monospace;white-space:pre-wrap;background-color:rgb(255,255,255)" class=""> MARK: - String Compatibility</span></div></div></div></blockquote></div><br class=""></div></div></div><div class="">You missed the entire point.</div><div class="">Here, I fixed it for you: <a href="https://gist.github.com/technogen-gg/17b6d5e13c13080850dceda28cfe1caa" target="_blank" class="">https://gist.github.com/<wbr class="">technogen-gg/<wbr class="">17b6d5e13c13080850dceda28cfe1c<wbr class="">aa</a></div><div class=""><br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>