On Monday, 2 May 2016 at 14:32:30 UTC, Steven Schveighoffer wrote:
On 5/2/16 6:55 AM, ag0aep6g wrote:

And anyone who says "bleh, you can just use a while loop if you need that" I want to beat with a semi-colon over the head.

-Steve

Apparently, Swift also does not have goto. For all languages that do have it, why use while at all if you have goto and if at your disposal? It's so much more general and powerful and simpler anyways :^)

Though I suppose for Swift just using recursion may do as an alternative to while. No need to introduce a new keyword/new syntax for something you can already easily do using a simple combination of other features, right?

Reply via email to