<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="">Hi Gage,&nbsp;<div class=""><br class=""></div><div class="">I’d like to invite you to read through our&nbsp;<a href="https://swift.org/community/#code-of-conduct" class="">Code of Conduct</a>&nbsp;for the Swift community. While something may seem like a joke to you, it is not always the case for everyone. Please be mindful of this in the code that you write as well as the comments you make. From the Code of Conduct:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><p style="box-sizing: border-box; margin: 0px 0px 1.5em; padding: 0px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;" class="">As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.</p></div><div class=""><p style="box-sizing: border-box; margin: 0px 0px 1.5em; padding: 0px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;" class="">We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.</p></div></blockquote><div class=""><span style="text-align: -webkit-auto; orphans: 2; widows: 2;" class="">Thanks,</span></div><div class=""><span style="text-align: -webkit-auto; orphans: 2; widows: 2;" class="">~ Kelly</span></div><div class=""><div class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="" style="orphans: 2; widows: 2;"><div class=""><br class=""><div class=""></div></div></div><div class="" style="orphans: 2; widows: 2;"><font face="HelveticaNeue-Thin" class=""><font class=""><font color="#919191" class="">Kelly Keenan</font><span class="" style="color: rgb(145, 145, 145); line-height: 14px;">&nbsp;</span></font><font class=""><font color="#919191" class=""><font class=""><a href="mailto:kkeenan@apple.com" class=""><font color="#919191" class="">kkeenan@</font><span class="" style="line-height: 14px;"><font color="#797979" class=""></font><font color="#919191" class="">.com</font></span></a>&nbsp;<a href="mailto:conduct@swift.org" class="">conduct@swift.org</a></font></font></font></font></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 15, 2015, at 12:37, Gage Morgan via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div class="">
<div class="">Also, another goal of doing it was to see if I could using a class. Which worked. I apologize for the delay, apparently as a Junior our HS does not trust us with EMAIL which of all things kids probably don't use for messaging.&nbsp;<br class="">
<br class="">
<div class="acompli_signature">Sent from <a href="https://aka.ms/sdimjr" class="">Outlook Mobile</a></div>
<br class="">
</div>
<br class="">
<br class="">
<br class="">
<div class="gmail_quote">On Tue, Dec 15, 2015 at 12:35 PM -0800, "Gage Morgan via swift-users"
<span dir="ltr" class="">&lt;<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>&gt;</span> wrote:<br class="">
<br class="">
</div>
<div class="">
<div class="">I understand that mine is a bit more complicated than it needs to be. It works, that's good enough for me. It gives proper values. I knew SOMEONE would have an issue with the "breaking machine," and I realized it could not be reached before typing it.
 I put it in there as a joke, nothing more (I've done worse in actual C).&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">As for types and other stuff, I will acknowledge that there could possibly be up to ten different revisions with much simpler code. I prefer to write things out, which is why there's not as many abstract concepts as some would like. I did as a test, just
 to see if it could be done. And the answer is yes, and that's good enough for me. The next time I plug in a formula I will consider these, but may not use them.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">I understand your above points, but there are of course 14000 different ways that you could do it. Don't overthink it. I did it the way I did it because I could understand it, no intentions to be .selfless or take a .selfie whatsoever (THAT WAS A JOKE,
 FOR THE LOVE OF CHRIST).&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">There are many ways you can dumb it down. Unfortunately, abstraction and I don't play nice. So it would make sense for me to have written it out step-by-step. Look at the calculations given by the second revision. They are unrounded versions of the CDC
 website's results, are they not?<br class="">
<br class="">
<div class="x_acompli_signature">Sent from <a href="https://aka.ms/sdimjr" class="">Outlook Mobile</a></div>
<br class="">
</div>
<br class="">
<br class="">
<br class="">
<div class="x_gmail_quote">On Mon, Dec 14, 2015 at 9:50 PM -0800, "Gage Morgan via swift-users"
<span dir="ltr" class="">&lt;<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>&gt;</span> wrote:<br class="">
<br class="">
</div>
<div class="">
<div class="">And a more polished version:</div>
<div class=""><a href="https://gist.github.com/MGageMorgan/c2166174be878e9cea78" class="">https://gist.github.com/MGageMorgan/c2166174be878e9cea78</a><br class="">
<br class="">
<div class="x_x_acompli_signature">Sent from <a href="https://aka.ms/sdimjr" class="">Outlook Mobile</a></div>
<br class="">
</div>
<br class="">
<br class="">
<br class="">
<div class="x_x_gmail_quote">On Mon, Dec 14, 2015 at 7:20 PM -0800, "Gage Morgan via swift-users"
<span dir="ltr" class="">&lt;<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>&gt;</span> wrote:<br class="">
<br class="">
</div>
<div class="">
<div class="">For most languages I try out, my own version of "Hello World!" is a BMI calculator. Swift has passed, I encourage you to try it out.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">There are two methods called towards the end of file:</div>
<div class="">1) bmi.pounds(weight, height) - Replace numbers inside with your own if you want to test out in US Customary units.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">2) bmi.kilograms(weight, height) - Replace numbers inside with your own if you want to test out in Metric units used everywhere outside the US.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">You already get the gist, the bits can be found here:</div>
<div class=""><a dir="ltr" href="https://gist.github.com/anonymous/9284017644567c29c7f8" class="">https://gist.github.com/anonymous/9284017644567c29c7f8</a></div>
<div class=""><br class="">
</div>
<div class="">If there's a bug please let me know, but it works in IBM's Sandbox.&nbsp;</div>
<div class="">(Yes, ALL code was written by me without help. Very close to C, just a bit laid back.)<br class="">
<div class="x_x_x_acompli_signature">--MGage--</div>
<br class="">
</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=-2FcgwiRAxmHDdptrhrsAJKMBtNqQpWV-2BwUfjpvH9AIaqjnhyAGexqc0VWZ-2FK1H-2FkGVDsXKSHiBv9fvXkIuETx-2BsYI7UH9dtSLZHVMsRUSdq8tdVuHd3VZkDMS0F6Ot0-2B8G8JEpylrXClVZYmfgnhasUDJdfhT4-2BoxDpq0UHaCeK-2B1d-2BH1Nooe0Enj-2B7ydFah-2BvcO6Ip6krW5cCq3tKV36a3uP2HIluCrEHQMtOHRtZNY-3D" alt="" width="1" height="1" border="0" style="height:1px!important; width:1px!important; border-width:0!important; margin-top:0!important; margin-bottom:0!important; margin-right:0!important; margin-left:0!important; padding-top:0!important; padding-bottom:0!important; padding-right:0!important; padding-left:0!important" class="">
</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=-2FcgwiRAxmHDdptrhrsAJKMBtNqQpWV-2BwUfjpvH9AIap8Po1BwNTe04tllOZT4D22ErNKO-2FdznI1-2F8zmvVWbePvXvDzrIZPf53JXE1JX9Ema1IVBdzY8SJrHjhFD-2FrDuWN9y9Ro5elGiZEcW4-2F3IEoJkWgT5xDuqaWwDWWBkRFYNE9Whg-2BG-2BB8L-2BciaobcokOGxCviXjH1jGhnApo-2F2Dw9SjONXJyD5argMgygiQ2fWs-3D" alt="" width="1" height="1" border="0" style="height:1px!important; width:1px!important; border-width:0!important; margin-top:0!important; margin-bottom:0!important; margin-right:0!important; margin-left:0!important; padding-top:0!important; padding-bottom:0!important; padding-right:0!important; padding-left:0!important" class="">
</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=-2FcgwiRAxmHDdptrhrsAJKMBtNqQpWV-2BwUfjpvH9AIarYX9ro9D8nLhnpPIP-2FNWnA5sT8Pc7cWlp0Q9v-2FYsU56AR4nCQIrOBrejQPAPhOcDIHAnWotHDwb3xCkbbntEaNBxyjJ2lcbpGLkzP2Rd5nHRDmDSQ1IeG74Lsr0UomMAaPFGqT-2B3yMYiP-2Bd0CUFgaEvMXLF5sDI4rS1mz4JDuTzH9RURiFOoQC5md2Gt5Zg2o-3D" alt="" width="1" height="1" border="0" style="height:1px!important; width:1px!important; border-width:0!important; margin-top:0!important; margin-bottom:0!important; margin-right:0!important; margin-left:0!important; padding-top:0!important; padding-bottom:0!important; padding-right:0!important; padding-left:0!important" class="">
</div>

<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=jbrYUehlRA3i-2B9MZX8OvZCYgpMtAM1Joitp8zrbOXFXWHzeTT2IXl4OOZTCklsbAVFSRjHkG3UQamr6iU2PXO8vOnnYhMDRPAVjwQzsZThgFLli6aEZqyWuy0kRbh0XN3r44hxmicUcXq4d0Qn6iGf-2F6hphVM3Nud7SLZP2pA7326RPjHQvMJNOYVJPE0q-2F6LyhiUVxVeGLIuJyt04wKKXmuCX-2BPbf0APaGmV8wYfYQ-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>


<span id="cid:B05A2A21-A02C-47C3-A593-8AC3DAC0240A@apple.com">&lt;Mail Attachment.txt&gt;</span><span id="cid:7D4C4396-9D8C-46F9-967E-2C91ACB56FAB@apple.com">&lt;Mail Attachment.txt&gt;</span><span id="cid:8F765462-300F-417A-986D-242710CB6875@apple.com">&lt;Mail Attachment.txt&gt;</span>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>