Why haven't you embraced the future and moved to Swift like everyone else?

Why haven't you embraced the future and moved to Swift like everyone else?

Other urls found in this thread:

github.com/apple/swift-evolution/blob/master/proposals/0004-remove-pre-post-inc-decrement.md
tiobe.com/tiobe-index/
fuckingswiftsyntax.com/
fuckingswiftblocksyntax.com/
fuckingclosuresyntax.com/
twitter.com/NSFWRedditGif

because i dont want to make software for apple products

Convince me.

You can both compile and script with it.

#!/usr/bin/swift

where can you learn it that isnt paid

This, show me why I should use it

>SJWift

C can do that too.

What's the problem with that?

literally why would you remove these?

Already have, been using it for 2 years

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

lmao

It is not rust.

Swift has promise, but the compiler quality just isn't there. It is slow and a pain to use on Linux.

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

...

If I was on my home computer I'd post an image to express a mixture of disgust and confusion in response to this.

Because I was born in the 90's and I still don't realize that websites are obsolete.

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).

What resources do you recommend to learn Swift? I already "know" Java and C++.

Syntax reference.

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?

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.

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?

iPad apps.

In all seriousness, it's starting to be used on servers and general programming tasks.

>Like everyone else
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.

macOS apps (Server, Desktop, etc) and it's available for Linux

>Scratch is No. 20

Should scratch even count

...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++;

IBM is pushing it really hard on the server 'cause they hate Oracle.

>go to Scratch site
>the "community contributed Scratch examples" section is all furry animu

kek

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.

What does that have to do with SJWs you fucking faggot?

>applel

>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.

>myVariable = myVariable + 1
>not myVariable += 1

Because sjwift is a fucking joke, and so is applel.

I want to be a joke that makes a lot of money though.

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.

>Everybody hates Oracle

I don't know the exact history. What has Oracle ever done so bad?

>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.

I ask that with win32 too.

Because I know python, so I basically already know swift

checkmate atheists

where can you learn win32 that's paid

Swift uses automatic reference counting which has almost no overhead
No garbage collector runs at runtime

this

I hate apple just as much as anyone else, but swift is still pretty legit

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.

apple have tutorials that are pretty good for experienced programmers

i got the hang of it really quick coming from c++

ignore books, their online docs have everything and you can google for strange shit

these are entertaining too:
fuckingswiftsyntax.com/
fuckingswiftblocksyntax.com/
fuckingclosuresyntax.com/

>implying they don't all get optimised away to INC/DEC instructions

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?

>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

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.

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

unfortunatly this is too true.. swift is great imo, but without the apple APIs ecosystem is pretty much capped.