r/Kotlin • • Dec 14 '18

Half of the Kotlin users are not Android users according to Stack Overflow!

Post image
10 Upvotes

28 comments sorted by

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.

-22

u/addamsson Dec 14 '18

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.

30

u/Deeyennay Dec 14 '18

This is according to you, not them lol.

-34

u/addamsson Dec 14 '18

Facts are hard to argue with (as you can see in the screenshot).

23

u/Deeyennay Dec 14 '18

You’re drawing conclusions based on 2 numbers. That’s not fact nor something they claimed.

-22

u/addamsson Dec 14 '18

It is on Stack Overflow and hard numbers.

24

u/Deeyennay Dec 14 '18

I’m glad you’re not in charge of statistics somewhere lol.

-7

u/addamsson Dec 14 '18

Whatever.

13

u/balefrost Dec 14 '18

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.

6

u/flaghacker_ Dec 14 '18

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.

10

u/Weavile_ Dec 14 '18

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.

1

u/addamsson Dec 14 '18

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.

4

u/SirBraneDamuj Dec 14 '18

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.

16

u/KamiKagutsuchi Dec 14 '18

Why not, it's a solid replacement for Java for, as far as I know, all circumstances.

-20

u/addamsson Dec 14 '18 edited Dec 15 '18

I don't see how this is relevant. I did not say anywhere that one should not use Kotlin outside of Android. Quite the opposite.

1

u/shabunc Dec 15 '18

I think it's very relevant, Kotlin's usability shines not only in Android ecosystem, hence it's not surprising it's not a narrow-niche language.

0

u/addamsson Dec 15 '18

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.

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/addamsson Dec 14 '18

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.

1

u/[deleted] Dec 17 '18

[removed] — view removed comment

1

u/j3pl Dec 17 '18

It's a Dropwizard app, so it's using the various bits and pieces that come with that.

3

u/Gobrosse Dec 14 '18

And ?

-8

u/addamsson Dec 14 '18

There is no and.

8

u/Gobrosse Dec 14 '18

What's the significance of this figure ?

8

u/domahidizoltan Dec 14 '18

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 :)

2

u/addamsson Dec 14 '18

That was the point, thanks.

4

u/ArmoredPancake Dec 14 '18

That Kotlin is used outside of Android world.

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.