OT: Swift is now open source

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 3 11:10:04 PST 2015


On 12/3/15 12:56 PM, tcak wrote:
> On Thursday, 3 December 2015 at 17:13:49 UTC, Jack Stouffer wrote:
>> https://github.com/apple/swift
>
> Everytime I get excited about another programming language, I notice
> that it lacks some nice features of D, and I become sad suddenly. Even
> on C#, there is nothing like giving the type of a variable like "typeof(
> another_variable_or_enum ) var;". C# and Java programmers are not aware
> of what things they are missing :D D lacks some features as well, but I
> do not want to talk about them here. Some people in the forum are
> getting into defence and attack mode immediately.

The truth is, swift is orders of magnitude better than Objective C.

I have gotten used to the nullable API, though it sometimes seems more 
clunky than useful. While it succeeds in preventing me from incorrectly 
using nil objects, it sometimes results in my code not executing because 
I wrapped it in an if-let! Apple's API is still rather verbose and hard 
to discover, but that is not swift's fault.

And the lack of semi-colons has poisoned me from writing syntactically 
valid lines in D :)

I miss D's algorithms and range API when working with swift. A lot. I've 
tried to use their sequence API, but it's very confusing.

-Steve


More information about the Digitalmars-d mailing list