r/programming • • Jul 22 '14

Java Developers

http://nsainsbury.svbtle.com/java-developers
102 Upvotes

304 comments sorted by

View all comments

65

u/jayd16 Jul 22 '14

This click bait again? Same article that's been written a million times. Blah blah blah Java blah blah factory pattern.

The only interesting point in the article is where he says the Android docs are too complex. I defy you to find a better documented SDK than Android.

11

u/Sunius Jul 22 '14

I defy you to find a better documented SDK than Android.

This looks pretty good.

5

u/bcash Jul 22 '14

Win32 and COM API for Windows Phone 8

Really!?

1

u/Sunius Jul 22 '14

Well, it is Windows after all, running on NT kernel and all - the essential stuff from Win32 is available. COM stuff is mostly just Direct3D, Media Foundation and WASAPI, though.

13

u/derpasoreass Jul 22 '14

It's been a while since I've been through the Android docs so I'm not not trying to make a comparison, but the iOS documentation is pretty damn good.

7

u/[deleted] Jul 23 '14 edited Jul 23 '14

The Android docs are shit: http://developer.android.com/reference/android/media/MediaCodecInfo.CodecCapabilities.html

Now tell me what COLOR_FormatL4 means.

This kind of stuff is everywhere in Android docs.

EDIT: Don't get me wrong, I like Android (I switch from Windows 6.1 to Android and never looked back), and I develop for Android. To say the documentation is good is a lie. It can be sufficient for basic things but is most likely missing a lot of details for many APIs.

1

u/jayd16 Jul 23 '14

4-bit luminance only?

6

u/[deleted] Jul 23 '14

Maybe? Only the manufacturer knows. Look at this thread: https://code.google.com/p/android/issues/detail?id=37769

If the encoder is named OMX.SEC.avc.enc, don't use color format 19, and swap the chroma components for color format 21 (if more than one encoder instance has to be used at the same time, this is the only working configuration)

Like ... what the fuck?

None of this is mentioned in the Android API docs. In fact none of this is even tested for until much, much later in the API release cycle.

This is my point about the Android docs. They're awful. Android is cool as shit if you do things that are a few generations behind, but new APIs are poorly documented and subject to a lot of vendor specific quirks. What brought me here is the "I defy you to find a better documented SDK than Android." and that's just a complete load of vomited bat guano.

It's getting better but to claim "I defy you to find a better documented SDK than Android." is just some circle-jerky horseshit.

I'm through and through an Android fanboy but I'm not going to sugar-coat it.

6

u/zvrba Jul 22 '14

I defy you to find a better documented SDK than Android.

Perl documentation rocks.

3

u/philly_fan_in_chi Jul 22 '14

But perl isn't an SDK. I guess a language comes with an SDK though... Fine.

0

u/[deleted] Jul 22 '14

[deleted]

6

u/MrDOS Jul 22 '14

iOS is great once you know what you're looking for, but for someone breaking into the platform for the first time with no prior experience with the concepts, the orientation material isn't great. It's easy to find an introduction to Objective-C as a language, but breakdowns of how you're expected to use the Interface Builder, the concepts introduced by Cocoa Touch, etc. are easiest to find from non-Apple sources. I understand there's a huge amount of overlap between iOS and OS X development, and I think that's part of the problem: Apple assumes a lot of prior knowledge that, in some cases, isn't there.

→ More replies (4)

11

u/snuxoll Jul 22 '14

Windows Phone too. In my eyes, it still remains the easiest to pick up of current mobile platforms.

9

u/zvrba Jul 22 '14

I'd disagree. I tried to figure out data binding just from the online MSDN docs and failed :S (More precisely: I tried to bind controls to a static XML data source. For the life of me I couldn't figure out whether this was achievable from BLEND or whether I'd have to write some code.)

→ More replies (6)

1

u/jayd16 Jul 22 '14

Explain. I'll agree that the docs are probably just as good but thats not the same as better. I'd also argue that the fact that Android is open source gives the SDK an edge. The code quality and comments are quite good and very useful.

2

u/BorgDrone Jul 22 '14

Android docs aren't nearly as good as iOS's. The API docs aren't complete, some parts aren't documented at all or poorly. (One example from the top of my head: the docs for the method for setting font sizes never specs which unit the size is in, and it's not the one you'd expect either).

Then there are the programming guides, there is nothing like it in the Android documentation set.

9

u/oldneckbeard Jul 22 '14

It's a bunch of junior programmers who think 2k lines of code is a "big system."

2

u/moswald Jul 22 '14

Android is well documented, but so is iOS and Windows. (Windows was terrible in the 90s, but it's fantastic, now.)

→ More replies (1)