Use tags instead of categories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Acire |
New
|
Wishlist
|
Unassigned |
Bug Description
IMHO, using categories to classify the code snippets may not permits several uses of acire. I would suggest to use a tag system, and permits a search by tags in the same way that del.icio.us shows it, rather than a single combo list.
The idea is to permits several classifications instead of a single one. For example, I could search for snippets about Gtk, but I could also try to learn something related to a given design pattern, and more probably, I would want to get snippets related to the use of the Decorator pattern in Gtk. With a single list, I can't restrict my search to composite categories.
A simple way to do that is to replace the actual combo list with a dynamic hierarchical view of tags. As an example, I put a screenshot of the del.icio.us extension for firefox that do more or less this kind of thing.
tags: | added: wishlist |
Perhaps tags would be better as a secondary way of finding things... I know they're very fashionable at the moment. Rightly so, they're great for categorising things like emails and webpages because they can contain so many different ideas in a single page. That and creating a comprehensive category- subcategory structure for all human knowledge/thought would be impossible, so a less organised approach is favourable.
Tags are really useful for categorising things that could fall into multiple classes. However when things fit into neat categories, it's better to use categories. If snippets fell into multiple classes, that would be a bad thing. They're meant to document a single concept - whether it's drawing a button or traversing a set of directories.
Where tags (or keywords) might be useful is as I've said above, a secondary location method. I can't say I can think of many usage cases for this. All snippets should be small and only have one purpose (as not to cause confusion), so it's unlikely that anything would ever need to be categorised in more than one way (other than through the use of categories and subcategories - see below).
Possible category structure:
Python → GUI Toolkits → GTK+ → GtkSourceview2
Python → Image Manipulation
Python → Web Frameworks → Django