<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=""><div><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; 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-stroke-width: 0px; float: none; display: inline !important;" class="">One of the biggest issues that I saw while teaching Swift to newbies (most had not programmed before) is confusion based on the early warnings/errors that swift/xcode gives you as they type. &nbsp;What would happen is that they would type a variable, and it would say… “You haven’t used this variable” and so they would just click the fixit because they trust the compiler more than they trust themselves. &nbsp;This would lead to a point where they were very confused because some of the code was code they had thought through, and some of it was changed by random fixits in ways they didn’t understand… and so it would lead to more errors/fixits until they had errors which couldn’t be fixed.</span><br style="font-family: Helvetica; font-size: 12px; 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-stroke-width: 0px;" class=""></div></blockquote></div><div style="orphans: auto; widows: auto;" class=""><br class=""></div><div style="orphans: auto; widows: auto;" class="">Imho this is the best example to illustrate that inflationary use of warnings does more harm than good, and I hope it will be fixed.</div><div style="orphans: auto; widows: auto;" class=""><br class=""></div><div style="orphans: auto; widows: auto;" class="">Having a bunch of conditions for warnings looks like overkill to me, and there are alternatives:</div><div style="orphans: auto; widows: auto;" class="">- Only show when building</div><div style="orphans: auto; widows: auto;" class="">- Only show in release builds</div><div style="orphans: auto; widows: auto;" class="">- Linter</div><div style="orphans: auto; widows: auto;" class=""><br class=""></div><div style="orphans: auto; widows: auto;" class="">That said, I'm going out on a limb and claim I already know how to write code and don't need basic schooling, and showing warnings before I hit compile is merely a distraction.</div><div style="orphans: auto; widows: auto;" class=""><br class=""></div><div style="orphans: auto; widows: auto;" class="">But there are also Playgrounds which seem to be an important aspect of Swift, especially for newbies who could really benefit from some hints.</div><div style="orphans: auto; widows: auto;" class="">There are no linters, no release builds, and even no regular builds for Playgrounds, so your model is the only one that works for them.</div><div style="orphans: auto; widows: auto;" class=""><br class=""></div><div style="orphans: auto; widows: auto;" class="">Bottom line:</div><div style="orphans: auto; widows: auto;" class="">+1&nbsp;</div></body></html>