Re:It’s Been Real, Android: Why I’m Retiring from Android
by kitsunesoba on Thursday October 13, 2016 @12:15PM
(#12701787)
The difference to me is that under iOS, you can go without these things (third party libs, Cocoapods/Carthage) and still be OK — you'll be at a relatively minor inconvenience, not ripping your hair out. Particularly with your example of Alamofire/AFNetworking, there's not a ton of functionality you're missing out on if you instead use NSURLSession, since they're both just light wrappers around it. This wasn't always true, but Apple recognized the gap in functionality and fixed it.
I have multiple personal Obj-C/Swift projects on iOS and macOS that don't use any kind of dependency management and use very few third party libraries and working on them has never been an issue or source of pain.
Re:It’s Been Real, Android: Why I’m Retiring from Android
by janekm on Thursday October 13, 2016 @12:56PM
(#12702168)
Actually, I make a point in my iOS projects to avoid third party libraries wherever possible. The first-party SDK is good enough that the dependency cost of libraries like Alamofire is usually not worth it.
I had to do some Android development not too long ago, and I felt like I had entered some crazy la-la land until I found a bunch of third party infrastructure like Kotlin, RXJava and a pile of libraries to make life bearable.
Re:It’s Been Real, Android: Why I’m Retiring from Android
by cloudjacker on Thursday October 13, 2016 @02:15PM
(#12702817)
> Actually, I make a point in my iOS projects to avoid third party libraries wherever possible.
Thats not a bragging point.
Re:It’s Been Real, Android: Why I’m Retiring from Android
by PopsiclePete on Friday October 14, 2016 @04:26PM
(#12710836)
DRY can be taken to extremes. It is ok to sometimes write code yourself than to tie yourself and depend on some other library by "some guy". The whole NPM "left pad" debacle is proof of that.
Apple didn't come up with dependency/package managers like Carthage or Cocoapods, the community did. There's just enormous amounts of OSS libraries provided by the community too, with ones like Alamofire smoothing out the rough edges of iOS's networking APIs.