22

Yes, this is about the never ending Angular madness, and I will briefly explain the fundamental issues of the naming problem (since it was not our fault). The objective with this is to get a broader community base (all our tagging experts) involved. If you already know about the mess, feel free to skip the introduction.

Introduction

Google started to develop this framework with the name of "AngularJS" and with the release of "AngularJS 2" they actually presented a different frame work (architectural, language, expression syntax, etc). Fundamentally if you were searching for a solution in "AngularJS 2" a solution in "AngularJS" would not do you much good, but instead only increase your confusion.

Google soon realized that "JS" was not a good description, probably since with the new framework developers now used TypeScript to write the components?, they dropped the "JS", and it became "Angular 2".

but but, now that we are developing Angular 2 version 3....

Well, that's a mess so they dropped the 2 and the frameworks are now named AngularJS and Angular.

Stack Overflow finally found peace on the main tags, and . Additional to these tags developers can add version tags:

Naming strategy for related libraries

I will give as example a few major with the intent to find a common strategy.

angular-material

This is a component library (datepickers, etc.) built with Angular that still suffers from the 2 issue. For AngularJS the official naming is material and for Angular it is material2, in fact we have , , , and then since now we are really confused , , etc. The version tags of material2 as I see it have no sense; it's probably just a side effect of the confusion (I'm using Angular7 not 2, not realizing that the library named material2 currently is in version 7 :)).

angularfire

The official binding for firebase, same problems as material, AngularJS version is angularfire and for Angular guess what? angularfire2, so we have , , ?? But not .

angular-bootstrap

For AngularJS that would be UI Bootstrap and for Angular ng-bootstrap. Ooh great they are named differently , , , , and .

My considerations choosing different naming strategy.

  1. Remove all reference in the tag to AngularJS or Angular, hence for example we would only keep [angular-material] and [angularfire]. The additional tag [angularjs] or [angular] will tell which one it is.

    • Update tag wikis to state that they need to add if angular-js or angular
    • We need to search and fix question that may not have the additional tag
    • Moderators will create synonyms to this single tag.
    • User can no more filter for example [angular-material2] they will need to add additional tag.
    • How do we handle if library have different name? as in bootstrap example?
  2. Use js to indicate the difference, hence keep two tags [angularjs-material] and [angular-material],[angularjs-fire] and [angular-fire], [angularjs-bootstrap] and [ng-bootstrap].

    • We need to some extensive manual retagging since for example now the [angular-fire] is currently referenced to [angularjs]
    • Moderators will create synonyms to these two tags.
    • The name does not correspond with library name a diligent user may notice that they are using [angular-material2] not [angular-material] which can be confusing.
  3. Keep the original library names [angular-material] and [angular-material2], [angularfire], and [angularfire2]. [angular-ui-bootstrap] and [ng-bootstrap].

    • Well, this is the correct name.
    • Users will continue with the confusion (I'm using version 7 of Angular, not 2 or add angular-material to an Angular question since they missed the 2 name), but we edit and try to create synonyms as we go.

This mess is even deeper with tons of directive tags, etc., but for now let's start with a strategy for these libraries. After that maybe it's easier to find a strategy for those that are not burnations, but synonyms which is much more practical from a community perspective (one moderator click vs. 100 of hours of community users reviewing).

13
  • 3
    Me personally I think option 2 is too much rooted in the past and in the now, not so much the future. AngularJS usage will dwindle over time until it has lost most of it's relevance. I think whatever choice is made now, it should be prepared for that (hopefully near) future.
    – Gimby
    Feb 28, 2019 at 12:33
  • 4
    After AngularJS 1.9 would be 1.10; they're version numbers, not floats. But AngularJS is EOL, there won't be minor versions past 1.7.x (see blog.angular.io/…).
    – jonrsharpe
    Feb 28, 2019 at 15:46
  • 4
    Angular have never been good with version numbers, so I would not be surprised if they consider it a float :), anyway it was just a joke about the 2 creating this mess. Feb 28, 2019 at 16:05
  • Why not just use tag the main language/framework [angular] , it's version [angular-x] and then only the library name [material]. I would read such tags as angular with version x and using the library material. Or are there mutliple library versions per angular major version
    – Lino
    Mar 1, 2019 at 13:05
  • 3
    @Lino that is more or less suggestion 1, with the difference of renaming [angular-material] to only [material], I'm not so sure this renaming is a good idea since [material] is a bit too generic to indicate the specific library angular/material, only material would be probably better to use only for Material Design, true angular/material is built on this, but still angular/material is a specific lib. Mar 1, 2019 at 13:16
  • @PetterFriberg Hm, I see the problem, then I would probably just go with suggestion 1, seems like the appropriate approach
    – Lino
    Mar 1, 2019 at 13:19
  • 1
    We should just ask the angular team to help us solve this madness. Mar 1, 2019 at 13:33
  • just ignore the problem
    – Kevin B
    Mar 1, 2019 at 17:14
  • 3
    I’ve been ignoring Angular for years, @Kevin. It hasn’t gone away yet. In fact, it seems to have… multiplied, which is the point of this question. You suggest we ignore it because it’s not a problem? Or impossible to solve? Or what?
    – Cody Gray Mod
    Mar 1, 2019 at 21:26
  • 5
    I don't think it's a problem worth solving.
    – Kevin B
    Mar 1, 2019 at 21:27
  • 2
    Somewhat unfortunate that high rep users, who should be at the forefront of solving the sites issues, are just nodding their head and saying that it is better to look away than to spend time on it. Mar 3, 2019 at 8:32
  • 2
    To me, Angular dev, it's quite important to filter out AngularJS (version < 2) from Angular (2+) questions. When I stumble on a non-ignored question incorrectly tagged Angular instead of AngularJS, I prompty retag it. Also, Angular material is some specific nearly external library, and deserves its own tag.
    – Pac0
    Mar 3, 2019 at 16:09
  • This is much needed cleanup! I like the option 2, because it's seems more intuitive
    – Vega
    Mar 19, 2019 at 8:14

0

You must log in to answer this question.

Browse other questions tagged .