4

Jetpack Compose tags are in a bit of disarray.

  1. Using always feels weird because I'm rarely targeting Android. But, sometimes it's still the right tag for me to use because what I'm doing is in the common code.
  2. Meanwhile, the tag has the "compose" slug but not the "jetpack" slug, and same for .

If it were me, I would probably try to normalise them like this:

Somehow namespacing just makes more sense if it's consistently done from the front.

8
  • 9
    Why don't we just have a single [jetpack-compose] tag? If the question is specific to a particular platform, you'd also add the tag for that platform (e.g., [android]).
    – Cody Gray Mod
    Aug 28, 2022 at 10:12
  • 1
    If we're doing namespacing though, it's probably worth highlighting that compose-desktop and compose-web actually are [compose-multiplatform] (possibly [jetbrains-compose-multiplatform] (jetbrains.com/lp/compose-mpp; same source repo). Admittedly, the imports still overlap with Jetpack, but this doesn't seem to apply to other platform's unique code Aug 28, 2022 at 11:14
  • 1
    For instance, the web-specific code for one of the examples uses a whole bunch of imports unique to web components. That's arguably enough to warrant [jetbrains-compose-multiplatform] and [android-jetpack-compose], though I'm not sure what's best to do in the cases where there's actual overlap, such as in the core code where all the imports are identical to jetpack's imports Aug 28, 2022 at 11:16
  • Tagging on a per-product basis seems more reasonable than globbing all of them into one, misleading tag that seems to imply compose-desktop and compose-web are both authored and released by Google as a part of Jetpack, when it really isn't. This also defends [android-jetpack-compose] as a future proof way to protect against other products named jetpack, that happen to include a function or class or whatever named "compose" Aug 28, 2022 at 11:18
  • 1
    We also have [compose-multiplatform] already, though it's trivial to rename it if necessary Aug 28, 2022 at 11:23
  • I'm not sure jeckpack compose cares about anything but android. Their whole product page is about android/java development.
    – Braiam
    Aug 30, 2022 at 11:02
  • Fair, I hadn't even noticed that [compose-multiplatform] also existed, so that's another one to add into the mix.
    – Hakanai
    Aug 31, 2022 at 1:48
  • @Braiam well, that linked page is just one guy's random blog on the subject, and I assume that person only cares about Android, but you're kind of right in some regards because the actual product page is also under the Android site. I don't know whether this is something that would change as the desktop and web targets get more mature or what the plans are there. (I guess Google and JetBrains would have to get together and agree to merge the site or something if it was going to happen.)
    – Hakanai
    Aug 31, 2022 at 1:49

0

You must log in to answer this question.

Browse other questions tagged .