-28

I was searching tagged questions, and noticed that around 20 percent of them are also tagged . When I look at these questions, they look like a completely different language. I am proposing a new tag, the android-java tag. Even though they might be Java, they still use different syntax in some things, such as using == to compare strings, rather than the traditional Java way, the equals() method.

These may seem like very small differences, but ultimately they are the difference between a great answer and an incorrect, bad one. These do nothing except confuse the person who asked the question and the future readers of the question. This causes answers to be harder to find, and less convenient for the whole community.

I looked at two other posts(1 and 2) which were good thoughts, but were more like complaints, without any solution. Why complain about a problem, when you could be fixing it?

Furthermore, the android-java tag would cause,

  1. fewer duplicates
  2. more convenience (for Android users and Java users)
  3. fewer confusing answers, and
  4. more correct ones.

Such a small tag could make a big impact (and a good one) on the Stack Overflow community, so please support the android-java tag.

11
  • 6
    You can search for [java] -[android] to get Java questions that aren't about Android.
    – BSMP
    Commented Apr 28, 2017 at 6:05
  • but there are still confusing questions, and a beginner may not realize key differences between the android syntax and the standard java syntax
    – user7627726
    Commented Apr 28, 2017 at 6:11
  • for example look at this question!!!!! seems like gibberish to me!
    – user7627726
    Commented Apr 28, 2017 at 6:19
  • this wouldn't happen with android-java tag
    – user7627726
    Commented Apr 28, 2017 at 6:21
  • It also doesn't happen as long as users test their answers before posting them. A Java programmer that never uses Android probably doesn't have an environment set up to even test an answer in. I also wouldn't expect any user who encounters a question they don't understand to attempt to answer it anyway. They'd just skip it.
    – BSMP
    Commented Apr 28, 2017 at 6:22
  • when I was new to the community, i got confused with the android related posts, and I'm sure that I'm not the only one. I have nothing against android, but I think it is confusing, and would be better off not posted with the java tag. It is a different platform with different syntax.
    – user7627726
    Commented Apr 28, 2017 at 6:33
  • 8
    So just add android to the ignored tags, just because you as a java developer can't understand it, doesn't mean a new tag is the solution
    – Alon Eitan
    Commented Apr 28, 2017 at 7:12
  • 12
    Android's syntax is no different than regular Java syntax. It's just another set of unfamiliar classes, like Swing or Spring or any other framework you haven't used. Commented Apr 28, 2017 at 7:30
  • 4
    @theProgrammer101: "Even though they might be java, they still use different syntax in some things, such as using == to compare strings, rather than the traditional java way, the equals() method." Traditional or not, if it's legal Java syntax, then it's legal Java syntax and therefore has the same rights to the Java tag as any other question about Java. Commented Apr 28, 2017 at 16:50
  • 7
    I'm voting to close this question as off-topic because different platforms do not need a whole different tag. Java is Java, no matter what platform it is using. Making an android-java tag would mean there would have to be eclipse-java, netbeans-java, or other tags which seems unreasonable.
    – user7627726
    Commented May 24, 2017 at 6:12
  • Thank you all for your time, but I realize this question is useless.
    – user7627726
    Commented Jun 1, 2017 at 22:19

1 Answer 1

17

Different frameworks for different languages can make questions seem foreign to people who are not familiar with that framework. But it's ultimately no different from seeing a question that uses Java and some other library; you see function calls you don't understand, file formats you don't know about, etc.

So the basis for drawing a line with the Android framework is weak. We could go on and on and on with this: C++ with Qt. C++ with MFC. OpenGL with Qt.

We don't create tags for combinations of languages and frameworks. If a question uses the Java language, then is a legitimate tag for that question. And however much you may see the Android additions as alien, the actual source code is still using the Java language.

If you're not interested in answering questions with the Android tag, we have ways to do that. You can add the tag to your ignore list, accessible in your user settings page. When you do so, questions using that tag won't show up on the main page, and even when looking at the list of questions for a tag, questions that use ignored tags will be dimmed.