Why haven't you embraced the future and moved to Swift like everyone else?
>>60268435
because i dont want to make software for apple products
>>60268435
Convince me.
You can both compile and script with it.
#!/usr/bin/swift
>>60268435
where can you learn it that isnt paid
>>60268435
>>60268470
This, show me why I should use it
>>60268435
>SJWift
>>60268537
C can do that too.
>>60269130
What's the problem with that?
>>60269130
literally why would you remove these?
>>60268435
Already have, been using it for 2 years
>>60269150
>>60269155
https://github.com/apple/swift-evolution/blob/master/proposals/0004-remove-pre-post-inc-decrement.md
basically applebabies are too dumb to figure out pre and post increment/decrement
>>60268435
lmao
>>60268435
It is not rust.
>>60268435
Swift has promise, but the compiler quality just isn't there. It is slow and a pain to use on Linux.
>>60269199
not just applebabies but haskellfags and adapussies too, they don't have postincrement operators either, they're not hardcore like us c programmers memorizing our awesome 40 year old syntax conventions and beginners traps there so much dumber than us lol we should meet up irl and rub dicks together a/s/l
>>60269130
If I was on my home computer I'd post an image to express a mixture of disgust and confusion in response to this.
>>60268435
Because I was born in the 90's and I still don't realize that websites are obsolete.
>>60269130
I maintain an old C codebase and I approve of their decision. Young C programmers just love being "clever", and few things are more "clever" in C than using an increment in an expression, except maybe using two. I have to rip out their "clever" code and replace it with stupid, predictable, maintainable code. In moments such as those, I feel like I truly understand Rob Pike (though he's wrong about generics).
>>60268435
What resources do you recommend to learn Swift? I already "know" Java and C++.
>>60269969
Syntax reference.
>>60270031
Meaning the one Apple has in the iBooks store (that's free), or some generic result of a search engine query? Also, what about paradigms like MVC?
>>60270055
Just google "how to pass reference in Swift" or "how to declare var in Swift" or whatever you need when the time comes. That or just google it. This isn't some super secret programming paradigm, it's just C-esque stuff.
>>60268435
Why is Swift so fast compared to Go or Java?
Is it because it was made by LLVM wizards?
So what can you make in Swift besides iPhone apps?
>>60270160
iPad apps.
In all seriousness, it's starting to be used on servers and general programming tasks.
>Like everyone else
https://www.tiobe.com/tiobe-index/
Doesn't appear to be #1 in usage. Doesn't even appear to be in the top 10. It's complete garbage outside of Apple's ecosystem, and they're not going to be seeing much growth in the smartphone market.
>>60270160
macOS apps (Server, Desktop, etc) and it's available for Linux
>>60270213
>Scratch is No. 20
Should scratch even count
>>60269468
...and then people complain why programs are taking more space than before, when retards like this think that it is better to type:
myVariable = myVariable + 1;
than
myVariable++;
>>60270210
>>60270160
IBM is pushing it really hard on the server 'cause they hate Oracle.
>>60270226
>go to Scratch site
>the "community contributed Scratch examples" section is all furry animu
kek
>>60270286
Everybody hates Oracle
What is the best place to learn Swift if I currently have a windows computer? I'm getting a Mac in a couple of months to load up Xcode and do some shit, but in the mean time I want to learn Swift.
Codecademy doesn't have it.
>>60269130
What does that have to do with SJWs you fucking faggot?
>applel
>>60270213
>Doesn't appear to be #1 in usage. Doesn't even appear to be in the top 10
yeah, it's #13 yet it's only for iOS and Linux. That's fucking huge you stupid retard.
>>60270257
>myVariable = myVariable + 1
>not myVariable += 1
>>60268435
Because sjwift is a fucking joke, and so is applel.
>>60271083
I want to be a joke that makes a lot of money though.
>>60271083
I don't see what's wrong with a modern language using modern types. Especially when said stack is used to much in iOS.
Ryan Petrich can continue to write in Turbo Pascal.
>>60270360
>Everybody hates Oracle
I don't know the exact history. What has Oracle ever done so bad?
>>60270147
>Why is Swift so fast compared to Go or Java?
It is not faster than Go.
Only Rust and C are faster because they don't use garbage collection.
>>60269090
I ask that with win32 too.
Because I know python, so I basically already know swift
checkmate atheists
>>60271925
where can you learn win32 that's paid
>>60271656
Swift uses automatic reference counting which has almost no overhead
No garbage collector runs at runtime
>>60271979
this
I hate apple just as much as anyone else, but swift is still pretty legit
>>60268435
it's useless outside of writing shit for ios or mac
comfy enough to use but everything you touch is an apple library
also it's slow as fuck if you're used to c, c++ or rust
itt: people who have not used Swift to create an app of any significant size.
Xcode shits the bed constantly. I have a phone picture of my monitor showing sourcekit using ~14gb RAM after I typed a simple construct. I couldn't take a screenshot because it had entirely hung my system. You can't autorefactor anything and everything is torturously slow. There is still no abi so every swift app bundles the entire runtime.
All the timesaving language features it introduces are dwarfed by the god awful tooling. Will absolutely be using obj-c for my next app.
>>60269969
apple have tutorials that are pretty good for experienced programmers
i got the hang of it really quick coming from c++
>>60270055
ignore books, their online docs have everything and you can google for strange shit
these are entertaining too:
http://www.fuckingswiftsyntax.com/
http://fuckingswiftblocksyntax.com/
http://fuckingclosuresyntax.com/
>>60270257
>>60271023
>implying they don't all get optimised away to INC/DEC instructions
>>60271196
chinks and ancient egypt were using pictures in place of a written alphabet thousands of years ago
nothing modern about that cancer senpai
is there a way to have swift on 32-bit linux, yet?
>>60268435
>make a language that compiles to native
>make it slower than even java and c#
>also make it that it can only be used for making fart apps for iphones.
m-mommy why nobody is using my language reeeeee
>>60269130
Postevaluation operations are useless for code readability. The variable can appear in any expression more then once, which one should have the post-decrement? What if two occurences of one variable are post-decremented?
I'd remove pre-increment for same reason. It can always be written before expression. Alternatively make return value of increment/decrement void.
>>60271552
i think its mostly because how butthurt they were about google android using java and being extremely successful.
they sued and sued and sued again for the right to copyright their APIs, not the code itself but the APIs signatures.
they also tried to sue linux i think? maybe im wrong there
>>60275278
unfortunatly this is too true.. swift is great imo, but without the apple APIs ecosystem is pretty much capped.