r/iOSProgramming • u/Bullfrog-Dear • Nov 05 '20
Discussion Just started learning Android Dev and using Android studio and...
WOW that's shit.
Like, I know we like to complain about Xcode and the long build times and whatnot, but when you're talking about error codes, autocomplete, warnings and what not - Xcode is simply LIGHT YEARS ahead of Android Studio!
Edit: well, some people here are butt hurt about my opinion like I told them their moms pasta is shit ... đ¤ˇđť
18
Nov 05 '20
I've used both and in terms of speed ye, it loads faster. But in terms of functionnalities I think Android Studio is ahead. For example refactoring in Xcode is a mess and is seamless in Android Studio.
97
u/konnos92 Nov 05 '20
Wow guys, as someone who codes both Android and iOS, I actually believe that Android Studio is a bit ahead of XCode. Even trying to find usages, implemetations of protocols (interfaces), general shortcuts, embedded terminal, they all make it feel better.
Build times are worse on Android from my experience especially after the introduction of Kotlin.
All in all it sure is a matter of preference, but to say that XCode is light years ahead, is very far from accurate.
31
u/lordzsolt Nov 05 '20
Totally agree. IntelliSense is light-years ahead in IntelliJ products. Even AppCode is better at autocompletion.
It's just a matter of being used to Xcode already and the learning curve is higher. And then they don't have any UI editor or live preview.
6
u/tempest_fiend Nov 05 '20
As someone who also uses both (although Iâm currently doing a lot more work in Android Studio), Iâd have to disagree. While AS has some features it does better than Xcode (Iâm looking at you auto complete), there are other things it just falls over on. Build times, only just adding in a live preview (itâs not overly useful either), the ridiculous amount of ram it hogs, the weird and random build errors, grade issues, etc.
For me, Xcode is just more polished. It doesnât screw up nearly as much as AS, and it also doesnât do really annoying shit like re-mapping keyboard shortcuts in updates for no god damn reason.
5
u/jbisatg Nov 05 '20
work on both platforms, this is exactly how it is.
But I'd say with the latest version of AS which comes with the db inspector which is nice rather than downloading an extra tool like flipper.
14
u/Consistent-Cheetah68 Nov 05 '20
Yup, totally agree Andriod Studio is better as compare to XCode. but build time is better in XCode.
2
Nov 05 '20
Came here to say this. While Android Studio might have a bit of a learning curve, it's autocorrect makes me profoundly jealous sometimes lol.
1
u/MisquoteMosquito Nov 11 '20
Have you tried MITâs app inventor 2? I really liked using it as a new user, documentation was pretty easy.
-2
30
u/VadimusRex Nov 05 '20
Yep, that's what people call a "hot take".
Of course you're gonna call it shit and unintelligible when you've been primed by years of using Xcode.
I'd wager if you tried Visual Studio you'd be calling it shit too.
2
Nov 05 '20
I hate Visual Studio and think Xcode is far better and I've used VS before it was called Visual Studio and still came in separate packages like Visual C++. That program is a hot mess of garbage and bloat.
53
u/mRs- Nov 05 '20
Can't compare. The Jetbrains IDE are way ahead of Xcode...
-12
0
Nov 05 '20
[deleted]
1
Nov 06 '20
Wait, the rename tool actually works? I thought it was just a neat way to pop up an error.
1
17
u/ArmoredPancake Nov 05 '20
Weak meme dude, try this in /r/androiddev, maybe it will gather more heated discussion there. As someone who used both, Intellij products are on a different plane than Xcode. Intellij is 3d, Xcode is 2d.
1
u/s4hockey4 Objective-C / Swift Nov 07 '20
IntelliJ lags like no other on my 2016 13â MBP, itâs painful
1
5
u/halleys_comet69 Nov 05 '20
Not sure what your point is. Xcode being better relative to [other IDE] doesnât mean that we donât deserve better or we should stop complaining to Apple about it. Whether Android Studio is shit or not doesnât affect how pleasant it is to use Xcode (or excuse for example the frequent SourceKit crashes requiring you to restart Xcode).
5
Nov 05 '20
It's not. Each one is different, but Xcode is actually well behind Android Studio. And I think that has all to do with the fact that Android Studio is managed as bleeding edge software while Xcode is approached more like a corporate system. Xcode is quite slow to learn new tricks. Which, arguably, is not a bad thing on its own. Android Studio is evolving very fast, breaking lot of things on the way.
Android has huge advantage in two areas: Dependency management & Automation. Which makes differences between IDEs quite insignificant.
Despite all that, I left Android development after ten years of doing that shit. For reasons that mostly fit into "Android OEMs" box.
5
5
4
u/Saik0s Nov 05 '20
I am using mostly AppCode(which is in the same family as Android Studio) for iOS development and it feels like Xcode is a very outdated IDE.
2
u/Hedgehog404 Nov 05 '20
I'm writing programatic ui-s, should I use app code as well? Will it launch simulator ?
Sorry I'm noobie ^^
2
Nov 05 '20
[removed] â view removed comment
2
u/Saik0s Nov 10 '20
Also, there is no build-in runtime UI debugging in AppCode, so there are two options for that: use Xcode or Reveal(I like it more than what Xcode provides). AppCode has built-in Reveal support, so it is easy to enable it.
1
u/Hedgehog404 Nov 05 '20
Can I switch between app-code and Xcode with no issues?, I mean to use some specific stuff like core data
1
u/Xaxxus Nov 05 '20
id agree with you. But for large projects its almost unusable. Not only are the build times slower, but the indexing is even worse.
Thats the only thing Xcode does better. The IDE is actually usable while indexing.
3
u/tempest_fiend Nov 05 '20
As someone who works on both, Iâm actually with OP on this one. Android Studio seems better because it does the things that Xcode handles poorly, well. Actually, not well, just better. But, it also has a lot of issues. Itâs not a straightforward IDE, it loses track of files, it has a propensity to not want to rebuild files, so will attempt to skip that as much as possible (really helpful when your code changes literally do nothing on rebuilds), they only recently introduced a decent resource manager, itâs live preview is under built, itâll chew through more ram than chrome (as will itâs emulators), as well as a plethora of other gripes I have with it.
Personally, I prefer working on Xcode than AS.
5
u/MarkusBerkel Nov 05 '20
Android as a platform is hot garbage.
OTOH, IntelliJ IDEA is a pretty nifty product. So, that point is a bit of a dumpster fire take.
6
u/hustlas4ever Nov 05 '20
Based on my small amount of experience using Xcode, Android Studio's console is better on helping you find your code's error.
2
2
u/alielknight Nov 05 '20
Android studio is a developer tool for developers
xCode is a developer tool for designers and developers
Visual Studio is just a developer tool
3
u/stoycis Nov 05 '20
I've been using exclusively Xcode for the last 8 years, but it's a bit hard to imagine an IDE that's worse than this one :)). It feels more and more painful to work with it with every new version.
1
u/mazster27 Nov 05 '20
Xcode canât even keep my code syntax highlighted properly. I switched to iOS from android and the tools seriously eat up more time in my day than ever before in my career. I spend hours âfixingâ Xcode. Deleting my derived data, dealing with crashing previews etc.. itâs hot garbage. Every time I get to open as again Iâm a happy man.
1
u/mazster27 Nov 05 '20
also debugging is superior, forget trying to observe an object in the debugger in Xcode.
1
u/ndg91 Nov 05 '20
In my experience Xcode is better when comparing features, but when comparing stability and performance Android Studio is better. But then I didnât use Android Studio for a while now.
I definitely preffered Android Studios autocomplete though.
-1
u/s4hockey4 Objective-C / Swift Nov 05 '20
One time I downloaded it, played around with it for 10 minutes, said âabsolutely fucking notâ and never opened it again haha
And this was at a point where I know Java so much better than Objective-C (at the time)
-12
21
u/freakysheep Nov 05 '20
Ever tried the "Generate..." function in Android Studio? Example: Generate a constructor. So usefull.
The "Refactor" tool in Android Studio. It is so much more powefull. In Xcode the only thing available most of the time is "rename". In Android Studio you can select code and it is able to analyze the code so it actually works and move it automatically to other classes, extract code to a new function without breaking anything, ...
Analyzing. Android Studio is able to find unused code and antipatterns ... Would be so helpfull in Xcode
In Xcode, code completion is much slower for me and breaks very often until I rebuild the project. In Android Studio it just works most of the time.
In Xcode, errors are lagging behind for example changing a signature nearly never gets recognized instantly and errors show up until I build again
Xcode has a much higher crash rate for me
Xcode debugger: Ever spent a day to figure out why everthing is nil again when in fact it is not and the debugger just is set to some random setting again where the debugging is not possible...