Re:Much ado about iOS app architecture
by mdhughes on Thursday November 09, 2017 @04:40AM
(#15661093)
OS X, iOS, and all new APIs consumed by Swift on those platforms are written in Obj-C or C++, never in Swift. So what's "stagnant"?
It's true that few others have adopted Objective-C, GNU & MS occasional efforts aside. Which is why I keep a number of languages in practice.
But fragile, power-hungry, slow-compiling Swift isn't going to beat out stable Java, or easy JS or PHP on servers, and outside iOS/OS X, building desktop software needs UI toolkit support and stability.
Which is my point: Building in Swift is total technical debt.
i guess it all comes down to whether you believe swift is going to get better with time and solve its current issues ( the ones you mention),or if it's inherently a bad design. I'm betting on compilation speed and fragility improving a lot in the next two years. What matters to me is that the language type system is among the best ( enums and optionals) , and the general feeling when coding with the language is a real joy.
For objc, however I've never been able to say anything better than "i got used to it".
Re:Much ado about iOS app architecture
by apple4ever on Friday November 10, 2017 @10:48AM
(#15670612)
> Which is my point: Building in Swift is total technical debt.
That's the truth. Swift makes it easy to build clever, unmaintainable code.
The beauty of Objective-C is it is readable! And then easily maintainable.
objc otoh isn't good and will never be good for anything other than appleOS development. i don't think betting on that tech today makes any sense. it lived a revival thanks to iOS , and it'll probably die when that platform has completed moving to swift.