Live data from Hacker News

Swift 3.1 Released

swift.org

61–70 of 71 posts

Re: Swift 3.1 Released

#61
post #37

Earlier quoted context omitted.

Why do you feel it's painful? I've only written a tiny desktop menu bar app with it, but I liked the clean look of it and it didn't feel so cramped like Visual Studio. Maybe I just don't have written with it enough.

I can honestly say that Xcode is the worst piece of software I have ever used. It's incredibly slow, it has always been riddled with bugs, it has crashed on me more often than any other software, and it is lacking so much functionality that it doesn't deserve to be called an IDE at all. For instance, it can't even rename a Swift function years after Swift's introduction.

You forgot Lotus Notes.

Re: Swift 3.1 Released

#62
Does anyone have a good linux-based swift workflow? I'm starting to experiment with integrating the language in cross-platform projects and I'd love to be less reliant on Xcode.

Re: Swift 3.1 Released

#63
post #10

Earlier quoted context omitted.

Well they are called bugs and they exist in every software. It's not like they did it on purpose.

Yea, but the Swift compiler is extremely buggy. Plus its gotten buggier with each release.

That sounds like you are making engineering decisions by superstition. Unless you have some source of data to back it up, please don't spread your subjective misinformation.

Re: Swift 3.1 Released

#64
post #40

Earlier quoted context omitted.

With 'drop' passing a throwing predicate feels a bit esoteric, but consider something like 'map'. Suppose you are mapping over an array of file names and loading each one, which can throw. You would expect the 'map' itself to throw if processing one of the elements throws. You can write higher order functions that only take total functions as arguments and handle errors with an 'Either' type, which is more general bu…

"So mapping over an array of integers to increment each one won't require error handling, since the operation itself cannot fail." Nitpick: in Swift, "since the operation itself cannot fail" isn't correct. The operation will fail on overflow, but it will terminate your application rather than throw.

Those are called "universal errors" and it's not very useful to reason about them. You could prove your program correct, use a total-function programming language, but it still could fail to complete - the power could go out halfway through execution.

Re: Swift 3.1 Released

#65
post #62

Does anyone have a good linux-based swift workflow? I'm starting to experiment with integrating the language in cross-platform projects and I'd love to be less reliant on Xcode.

I have a question. Why would you use Swift for linux development? Is there a binding to any major UI framework (QT...)?

Re: Swift 3.1 Released

#66

Earlier quoted context omitted.

I can honestly say that Xcode is the worst piece of software I have ever used. It's incredibly slow, it has always been riddled with bugs, it has crashed on me more often than any other software, and it is lacking so much functionality that it doesn't deserve to be called an IDE at all. For instance, it can't even rename a Swift function years after Swift's introduction.

You should give Android Studio a try, you will no longer complain about XCode being slow.

hahahaha I need to agree with you. Xcode is bad but Android Studio is worse than everything else.

Re: Swift 3.1 Released

#67
post #37

I like Swift but I hate the Xcode and the Apple tools. Is so painful to code with it. Apple needs to change its entire development flow. Even working with the react-native I need to use Xcode. =l

Why do you feel it's painful? I've only written a tiny desktop menu bar app with it, but I liked the clean look of it and it didn't feel so cramped like Visual Studio. Maybe I just don't have written with it enough.

Xcode is very slow. Every time that I open it, my computer switch on the cooler, the memory of my mac have a spike of consuming.

I don't like the IDE itself... for instance, if I need to rename something, Xcode uses an XML that when you have a team working on the same project, you will have huge problems with merge the commits.

Maybe the problem is me, but, I know XCode since 2012 and I never like it! =l

Re: Swift 3.1 Released

#68
post #37

Earlier quoted context omitted.

Why do you feel it's painful? I've only written a tiny desktop menu bar app with it, but I liked the clean look of it and it didn't feel so cramped like Visual Studio. Maybe I just don't have written with it enough.

I can honestly say that Xcode is the worst piece of software I have ever used. It's incredibly slow, it has always been riddled with bugs, it has crashed on me more often than any other software, and it is lacking so much functionality that it doesn't deserve to be called an IDE at all. For instance, it can't even rename a Swift function years after Swift's introduction.

I need to agree with you, Apple tools, in general, are very strange...

Re: Swift 3.1 Released

#69

I like Swift but I hate the Xcode and the Apple tools. Is so painful to code with it. Apple needs to change its entire development flow. Even working with the react-native I need to use Xcode. =l

Have you tried the JetBrains AppCode IDE?

Never, is it a good choice?

Re: Swift 3.1 Released

#70
post #33

I like Swift but I hate the Xcode and the Apple tools. Is so painful to code with it. Apple needs to change its entire development flow. Even working with the react-native I need to use Xcode. =l

Why do you feel the need to use Xcode (rather than just running the compiler and codesign tools using the build environment of your choice)?

Hum, to be honest, I don't like the Apple development flow. I don't like the Apple developer center, I don't like the Certificates, etc etc. In my case, I need to use XCode to find out the right places to link the react-native lib to my project...
Post reply on HN