[swift-users] Prototyping what Swift can look like in educational settings

Don Wills don.wills at portablesoftware.com
Wed Jan 6 11:34:13 CST 2016


[soapbox]

Coming from the perspective of business applications market (Java and C#), I see major problems in moving to Swift.  It's simple too different.  The String class is a disaster.  Optionals present a giant spider web of interconnectedness and syntax idiosyncrasy that does not provide any real advantage compared with Java/C#.  The fact that Ints, etc. are not really primitives (unwrapping is required, sometimes explicit, sometimes implicit) is a major dislocation for those coming from all C-syntax-based languages.  The lack of non-checked exceptions (that is exceptions not declared with a throws clause on the func def) is problem.  The lack of packages and/or namespaces is another giant gaping hole.

I had high hopes when I first looked into Swift.  Those hopes have been dashed, and I don't see anything in my limited view of the plans for Swift 3.0 that addresses any of these concerns or several others that I did not mention.

[/soapbox]

Don Wills


> On Jan 6, 2016, at 10:15 AM, Dru Satori via swift-users <swift-users at swift.org> wrote:
> 
> There is a huge potential here. The weakness, today at least, is that with Swift 2.0, there remain some difficulties in terms of being dependent upon reaching out to Objective C to accomplish some tasks. Looking at what is coming with Swift 3.0, and the work done on the Linux port, I think there is a clear roadmap that makes many of these issues go away, but right now, today, I think it is a tough sell into the edu market.
> 
> 
> 
> 
> 
> On 1/6/16, 1:42 AM, "swift-users-bounces at swift.org on behalf of Donald Pinckney via swift-users" <swift-users-bounces at swift.org on behalf of swift-users at swift.org> wrote:
> 
>> Hi all,
>> Personally, I love Swift, and I am curious to see if it will be used in educational settings, not necessarily even CS education.  As something of an experiment to see how Swift could currently look in education, I coded a Swift playground (sorry, very Mac specific right now!) that is a rewriting of a lab activity we did in my 3rd quarter of physics.  For those who are interested in educational aspects of Swift, and have a Mac to run this code, feel free to check out my attached playground, and give any sort of feedback, with respect to either the code or more philosophically where you think Swift could go with education.
>> 
>> Cheers,
>> Donald Pinckney
>> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
> 



More information about the swift-users mailing list