[TWX] filter ---> operations

61 views
Skip to first unread message

Mat

unread,
Apr 18, 2019, 8:34:28 AM4/18/19
to TiddlyWikiDev
For TWX, i.e an imaginary future take on TW.

Just an observation: filters have reached a point where they are no longer best described as such but rather as operations. Analogously, many of the now called filter operators would more sensibly just be referred to as operators.

<:-)

TonyM

unread,
Apr 18, 2019, 8:19:53 PM4/18/19
to TiddlyWikiDev
Mat,

Whilst you do highlight a trend to a more general operator functionality, it is a key feature that filters operate on sets of tiddlers by title including the de-duplication of titles and allows these lists to be filtered to find relevant subsets such as "tasks that are open", or those "closed last month". You could say filters are a key concept in tiddly wiki, so perhaps they should not be relegated to a subset of the operators. This means that the "filter" remains a key function of the "filter operators". Perhaps as a result it could be said tiddlywiki "filters and operators" are a key feature.

Dealing with the new maths operators and removing deduplication of input is discussed in a number of threads, especially on git Hub. https://github.com/Jermolene/TiddlyWiki5/issues/3757

Regards
Tony

Mat

unread,
Apr 19, 2019, 6:21:40 AM4/19/19
to TiddlyWikiDev
My point is just that what we actually do inside what is currently referred to as the "filter" parameter is really more "operating" than "filtering". The common view of a filter is probably someting that "filters out" stuff to get a subset of the input, but that is just a small sample of what we normally do within this parameter... hence more suitably named "operations" IMO. Perhaps eve "actions" or simply "do" for a more colloquial parameter name... Hey, I really like "do"! As you note, the concept of "filtering" is in deed a subset of "operating" so it is more a matter of a title promotion.


<$list do="TW5 +[removesuffix[5]addsuffix[X]]" >
<:-)
</$list>

TonyM

unread,
Apr 20, 2019, 12:42:09 AM4/20/19
to TiddlyWikiDev
Mat

I see where you are coming from especially as the maths operators come online, however I think that perhaps the emphasis on operator or filter may vary with the application tiddlywiki is used for. My key wiki to manage tasks projects knowledge and documentation is about lists sublists and related tiddlers so most depend on the filtering side.

I suppose it is the versatility of tiddlywiki that means it is hard to make value judgements or comparisons on how it is used without undertaking a survey.

But it is great to hear others perspective.

Tony

Reply all
Reply to author
Forward
0 new messages