Earlier quoted context omitted.
How does that make them any more difficult to use?
The compiler can provide better error messages and guide the user, whereas with library types, at least on C++'s case it requires help from external tooling. With Rust, while you can make use of the type system, it is harder for the compiler to provide such guidance, unless the types are somehow blessed.
IBM says Swift is ready for the enterprise
181–190 of 235 posts
Re: IBM says Swift is ready for the enterprise
#182Java seems to be leaving a gap for various technical reasons. Java also may be seen by some as having strategic challenges under the Oracle stewardship. Go, Swift, Node and others are currently trying to exploit it.
Java took off not the least due to IBM stepping into the SUN court. Now IBM steps into the Apple court...
Re: IBM says Swift is ready for the enterprise
#183Overall I like Swift and it's certainly a massive quality of life improvement for Mac/iOS devs. But I don't see as much upside for enterprise development. Server side tooling and deployment is still TBD, reference counting adds non-negligible cognitive overhead vs GC in an environment where the downsides of GC matter much less. They will have to build a complete ecosystem of server-side libraries from scratch. And un…
I wouldn't use Swift anywhere that I didn't have to until the terribly klunky and overly verbose Strings API is fixed - https://news.ycombinator.com/item?id=10519711 This is a typical Apple product to me - they obsessed over their idea of correctness and ended up with something that is difficult to use and completely alien. Meanwhile every other language offers convenience without even stopping you from doing anythin…
Re: IBM says Swift is ready for the enterprise
#184Earlier quoted context omitted.
It's not about having someone to sue it's about attracting blame. Blame assignment isn't really about who made good decisions, or who worked hard, or any of that, it's a combination of how bad it went and who made uncommon choices: common choice + failure = external blame (who could have seen it coming?) uncommon choice + failure = it's your fault for doing it weird common choice + success = great job! uncommon choic…
This is probably the most important comment in this thread. Being able to delegate blame out to $common-choice on project failures is the difference between that CIO being able to say "hey, not my fault, I bought the Oracle platinum integration package!" to satisfy the board rather than "sorry guys, I really thought my node.js idea would work, it's all the rage with the kids! Haven't you ever heard of Slack?!" (If th…
Re: IBM says Swift is ready for the enterprise
#185Re: IBM says Swift is ready for the enterprise
#186Earlier quoted context omitted.
One other downside is XCode. No refactoring support, and lots of errors that give you little help. For instance, if you're trying to implement a protocol which is itself a few layers of nested protocols, XCode will just tell you it doesn't conform and not what method you're missing, so you have to dig through and check every signature of every method carefully. The swift 2 to 3 migration was absolutely insane, I'd es…
I would agree with this. The biggest issue with Swift right now is Xcode. Multiple times each day, syntax highlighting and code completion will break, even though the code is perfectly valid. The lack of refactor support after three Xcode releases and major versions of Swift is inexcusable. Using storyboards is super frustrating due to the load times. It seems no one at Apple tests with more than one storyboard in a…
You can always use AppCode if you don't like Xcode.
Re: IBM says Swift is ready for the enterprise
#187In '95 I remember going to an excellent Smalltalk course. A year later that lecturer was working for IBM on Java. IBM '96 also bought and then shifted an excellent Software Configuration Management System by OTI towards Java (aka. Eclipse). IBM contributed a huge part of Java networking code too. Java seems to be leaving a gap for various technical reasons. Java also may be seen by some as having strategic challenges…
Re: IBM says Swift is ready for the enterprise
#188Earlier quoted context omitted.
That's not stop the world. Under RC, when a thread is destroying a complex data structure, other threads are free to keep doing useful work. RC does otherwise have very bad interactions with threads of course. edit: clarify
Just like a parallel GC.
Re: IBM says Swift is ready for the enterprise
#189So... what's the "elevator pitch" for Swift? It has anything interesting over Elixir or Go (well, go's feature is "lack of feature" but you know what I mean) or Scala or Kotlin? I know that iOS and MacOS desperately needed a modern language, and great for them that they have it now, but does the rest of the world need it?
> It has anything interesting over Elixir or Go Compared to Go it's a whole other level of interesting... Think of Highway 50 (NV) vs Highway 1 (CA).
Re: IBM says Swift is ready for the enterprise
#190Earlier quoted context omitted.
How does that make them any more difficult to use?
You have to manually optimize away unnecessary reference counting without help from the compiler.