what does /g/ think about apple's new programming language?
Why should I care? I'm not going to use it.
>>53822644
Bingo, not with C# going the way it is...no need for objective-c/swift to develop ios/mac apps...
I'm on Winblows, I'd care otherwise
>>53822644
because its the best most versatile language and easiest to learn
>>53822633
no point using it when there are better languages out there
>>53822671
none of that is true though
>>53822633
Nobody cares.
>>53822664
Swift is better than C# though. Fuck dependencies on .NET shit.
>>53822717
Swift has it's own standard library and garbage collector. As a language it's just a means of patching over the shittyness of objective-C. It's bassically "We're sorry about objective-c" the language.
It's also pretty much a fucked up F# clone. They literally hired people from microsoft who worked on F# to help design it.
Laughably, F# is much nicer to use for iOS dev than objective c is.
>>53822633
>new
>>53822765
But it compiles to binaries and doesn't need a shitty runtime.
Swift is what F# should have been.
>>53822765
F# is just a OCaml clone without any real world appliance. Go back to developing office plugins .NET weenie.
>>53822793
>without any real world appliance
F# is used far more in the real world than ocaml.
>>53822840
Name one useful thing written in it.
>>53822782
Why are you comparing an FP language with an OOP one?
>>53822840
OCaml isn't useful either.
>>53822782
So does F#. Do try to keep up.
>>53822875
epic-pen.com
jet.com is almost enitrely F#
It's used a lot in the financial industry, and get's a lot of use in .NET shops in general.
>>53822633
It's WAY better than the clusterfuck that Objective C has become. It's also a pretty great language overall. If you don't develop in Apple's ecosystem it won't matter much of course, but for what it is I think it's one of the few things that Apple did right lately.
>>53822765
>Swift has it's own standard library and garbage collector.
Wrong, Swift doesn't have a garbage collector it uses automatic reference counting
>As a language it's just a means of patching over the shittyness of objective-C
Not really, its an entirely new language, only the standard library stays compatible.
>It's also pretty much a fucked up F# clone.
You have no idea what you are talking about, both languages share some features (type variants, discriminated unions) originated from FP languages but thats about it.
>Laughably, F# is much nicer to use for iOS dev than objective c is.
Considering your previous statements I seriously doubt that you have even done any iOS development.
>>53822952
So basically a toy project drawing tool and some hipster web shop nobody ever heard of. That is Haskell-tier real-world adaption.
>>53822633
Lang is not bad, but it's connected with apple ecosystem, it's useless in terms of other platforms, a lot of concepts have been taken from Rust which is good, but I don't think this lang will gain popularity in the future, we have already many other languages: .Net - is my favorite, Rust, Go and etc, don't see any point using it except you want to replace objective-c.
>>53823245
Under .net I meant C# + ecosystem
>>53823137
>hipster web shop
$100 million dollar hipster webshop yeah.
The poster asked for one useful example, and i provided many.
>>53823078
>Swift doesn't have a garbage collector
ah, my bad. Reference counting has it's own problems of course.
>its an entirely new language
I know, that has to work well with the miserable objective C shit.
>both languages share some features
It's basically a functional first general purpose language, like F# with very similar syntax to F# made by the people who made F#.
Why should I use Swift on iOS over F#?
>>53822633
It's not new anymore.