4 ms·
> 9 years later, the Swift tooling is still atrocious. Compile times are much longer To be fair you can’t really compare them since the Swift compiler is givin
by jamil7 3y ago
> 9 years later, the Swift tooling is still atrocious. Compile times are much longer
To be fair you can’t really compare them since the Swift compiler is giving you a lot more guarantees than Objective-C which gives you basically zero. Rust is also atrociously slow to compile.
- vbezhenar 3y agoIf you can write the same program with Objective C or Swift, you definitely can compare tooling. Who cares about guarantees? People care about result. I actually feel that recently iOS and macOS programs became more buggy and unreliable compared to old versions. Not sure if that could be attributed to Swift.
- saagarjha 3y agoPeople care about guarantees when their device gets hacked, for example.
- user-the-name 3y ago[dead]
- dagmx 3y agoUsers care that their app doesn’t crash and doesn’t corrupt their data, or allows for RCE. ObjC gives you very few guarantees that your runtime data is correct. Swift makes for more resilient programs all around.
- lapcat 3y ago> Objective-C which gives you basically zero Untrue. In fact, more and more compiler warnings have been added for Objective-C over the years. Moreover, there's the static analyzer, as well as runtime checkers and sanitizers.
- dagmx 3y agoHistory has shown time and time again that static analysis is an appeal to unrealized perfect humans and not pragmatic realities of developers doing the least possible or hubris
- lapcat 3y agoI honestly have no idea what you're talking about.
- dagmx 3y agoStatic analysis is useless unless run , and most developers won’t run it because it’s not the default (so they have to go out of their way to do it) and/or because they believe they are above needing it. Pretty much every analysis of modern languages with compile time default analysis has shown that ultimately defaults matter.
- lapcat 3y ago> Static analysis is useless unless run Everything is useless if you don't use it. By this logic, Swift is also useless. ;-)
- dagmx 3y agoSure but this is a comparison of language to language. Saying language+tool is comparable isn’t the same.
- lapcat 3y agoI was never just comparing language to language. My original comment was this: "9 years later, the Swift tooling is still atrocious. Compile times are much longer, the compiler still crashes, the debugger still doesn't work reliably. It's a major step down from the mature Objective-C tooling."