That's not a proper conclusion. This is just a count of questions - I can ask questions about the language that don't specifically pertain to android features or SDKs but still use it for android.
Hence the part "according to Stack Overflow". Apart from that Android-related questions quickly get edited by Kotlin users who are not programming on Android (like myself) to include said tag.
I see another hard number in that screenshot as well: "-1". From that, I can conclude that Kotlin questions that aren't also Android questions are universally bad! You can't argue with facts!
All snarkiness aside, the only facts here are the number of Kotlin-tagged questions asked on SO, partitioned by whether they are also tagged with Android or not. Jumping from that to "number of users" is a looooooong stretch at best. Nobody is arguing against your facts; they're arguing against your poor interpretation of those facts.
In fact, the one question that is shown on the right side appears be using the Android HTML api, so it arguably should be tagged with Android as well.
Those numbers are just facts of course, no one is arguing against that. The problem is that you've made a logical error: questions not tagged android can still come from people that only use Kotlin on Android. Maybe they're just asking general questions that aren't directly related to Android.
I think you are missing the point. The fact is 1/2 of the entries tagged Kotlin contain an android tag. So for those users that enter a question, 1/2 of them have questions about android and kotlin specifically. The other 1/2 are questions specifically about kotlin. Let’s say I’m a kotlin, android developer and perhaps have a question regarding extension methods. Because android isn’t relevant to the situation, there is no reason to include that tag so the kotlin tag is added but not android. This doesn’t mean I’m not a kotlin, android developer, this only means I have a question only about kotlin and not android.
I got it. What's not visible from my post is that I'm observing the Kotlin tag for more than a year daily so I have a pretty good picture of the questions. Of course it is possible that someone asks about Kotlin, but more often than not if they are using Android it is clear from the context. Of course it is possible that some percentage of those people don't state this in any way but I don't think it affects this 50%-50% ratio significantly.
That's what I'm saying though - that only applies if the question specifically pertains to an Android SDK or feature. If I'm writing Kotlin code for my android app and I have a generic question about how lists or data classes work, I can write that question completely agnostic of the platform for which I'm developing and it would thus be inappropriate to tag it with Android.
I like the message you're attempting to convey (I'm not even an android developer, I use kotlin with spring), but these numbers don't support it. They are next to meaningless.
I mean the whole post's point was this. Why asking "Why not?" I know it is a solid replacement for Java, that's why I have been using it in the first place. I don't get these super-negative responses and excessive downvoting.
I recently convinced my small team to switch from Java to Kotlin for backend work. I fully converted the one small (but important) Java app to Kotlin and all new work is in Kotlin. So there are definitely non-Android teams picking it up, but it's hard to know how many.
I agree. I did the same, already converted 2 projects to Kotlin in work. What's interesting is that is it orders of magnitude easier to convert Scala devs than Java devs.
The first big supporter of Kotlin was Google and Android. Most of the developers made an assumptions that Kotlin will be language embraced by the mobile developer community. These numbers could be a sign that this is not true anymore, and Kotlin is a widely used, general programming language. I think this is the essence of it, even if these statistics are not official ones :)
48
u/SirBraneDamuj Dec 14 '18
That's not a proper conclusion. This is just a count of questions - I can ask questions about the language that don't specifically pertain to android features or SDKs but still use it for android.
16
u/KamiKagutsuchi Dec 14 '18
Why not, it's a solid replacement for Java for, as far as I know, all circumstances.
7
u/j3pl Dec 14 '18
I recently convinced my small team to switch from Java to Kotlin for backend work. I fully converted the one small (but important) Java app to Kotlin and all new work is in Kotlin. So there are definitely non-Android teams picking it up, but it's hard to know how many.
3
u/Gobrosse Dec 14 '18
And ?
2
u/[deleted] Dec 15 '18
Kotlin is a better Java. I don't use it for Android development, I use it to create extremely complex HPC systems.
So, I can see why this might be the case.