Swift has explicit fall through nowadays (https://docs.swift.org/swift-book/LanguageGuide/ControlFlow....)
I think it has had it for quite a while, but I can’t easily find when it was introduced.
I think it has had it for quite a while, but I can’t easily find when it was introduced.
I always thought C# was the meeting place between Visual Basic and C++, where it was familiar enough to both language users to migrate, although occasionally different enough to cause problems (eg. generics vs templates). I don't know what Swift is "related to" in this regard - any ideas?
Of course, my lack of knowledge about Swift may show me up here so I am happy to be corrected and educated. This was merely an observation.
The Swift discussion in the article is very good and logically laid out.