3

There are two tags that deal with Java packages: and .

The tag is clearly and specifically for questions relating to Java packages. The tag, on the other hand, is a tag that refers to multiple things, including Java packages. Per the tag info:

Package broadly refers to two things: 1) a usable unit/component of built/compiled software, or 2) a partition of the global namespace (Java).


Package may refer to a software component or the action of creating a package. The component could be a portion of a whole system, or the whole system itself, or any level of granularity between. Typical packaging mechanisms include: tar, jar, zip, rpm, war, exe. In this context it may also be used as a verb: "I was packaging my software and...".

Package is also a term from the java world to refer to the mechanism used to partition the global namespace with the intention of making it possible of having two classes with the same name and of creating a logical structure in which classes may be held. In java packages are most commonly represented by directories. Package is also a java keyword used at the start of a class file to indicate the package to which the class belongs. This is important because of 'package' scoped access rules, which allow classes in the same package to access a field/method/class.

Because of the ambiguity here it is best to use other tags to help define the meaning of this one. If you're asking about java packages, please include the Java tag. If you're asking about packaging up your software for deployment/use add other appropriate tags, such as 'Maven', 'Make', 'Ant', etc.

is a relatively tiny tag with only 91 questions. currently has 16,664 questions, 2,235 of which also have the tag.

This answer to a related closed question suggested the following:

I would suggest we do the following

  1. Retag the Java questions to
  2. Make a new overall tag (say [software-package] to remove any Java doubts), write a more concise excerpt, and synonym and to this new tag

I think retagging the Java questions and removing it from the definition of is a good idea. The other usages of packages might want to be burninated, or maybe split apart into various specific tags.

What does the community think we should do here?

2
  • 1
    The retagging for java questions sounds reasonable, for any other question though... not sure if we would need [package] at all. It could very well be conflated to just mean the same as library, which in itself is useless as a tag.
    – Lino
    Commented May 31, 2023 at 6:01
  • Is there a way of bulk changing something like package + java to java-package + java? Or would that need to be manually done for each of the 2,235 matching questions? What's the typical approach?
    – M. Justin
    Commented Jun 1, 2023 at 4:07

1 Answer 1

4

I think you're half right. Converting + to is a good plan (unless there is something more specific you can use) and more power to your elbow with that cleanup, but it sounds like itself is a confused mess that doesn't help anyone and will eventually need burnination. Changing to won't help!

1
  • 1
    In fairness, I myself never actually argued for keeping package around as software-package. :-) "The other usages of packages might want to be burninated, or maybe split apart into various specific tags." So I think your stance and mine are basically the same.
    – M. Justin
    Commented May 31, 2023 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .