On Sat, Jun 6, 2015 at 7:30 AM, Sergio Fedi <sergio.fedi@gmail.com> wrote:
If something is a tag, then you should be able to apply multiple tags to something. Well you sort-of can do that. Consider how many packages have tag "Tests" in it. They don't need to be globally unique and it makes sense to use the very same tag in different packages... so at least for me tag is perfectly fitting name.
If you could use Tags as tags, then you could have this
Car -> Model CarTest -> Model, Tests CarFactory -> Factories CarFactoryTest -> Factories, Tests
Thus, you could browse different groups of classes anyway you want:
Has tag: Model Classes: Car, CarTest
Has tag: Model, no-Tests Classes: Car
Has tag: Tests Classes: CarTest, CarFactoryTest
Has tag: Factores, Tests Classes: CarFactoryTest
Imagine then that you could also make tags to show which classes implement a certain Pattern, so now you could browse different implementations of a specific Pattern all accoress your image.
Tagging in any domain is an extremely useful feature. So is adding notes/comments, but that's another topic.
I am not clear on the internals dealing with "tag" , but in your example I guess the tags needs to be associated with classes, but our current "tag"s are associated with a packages? If tags are used how you describe, I wonder if our package "categories" then become tag filter expressions. Perhaps GT-Tests-Spotter makes a good example, tagging classes as: Exceptions; Scripting; and Mocks. You might simultaneously have filter categories: * Exceptions * Scripting * Mocks * Exceptions,Mocks * Scripting,Mocks cheers -ben