Hi @Flibbles,
As an intermediate user, I do enjoy crossing thresholds of âgetting itâ about how TW âwantsâ me to approach things. Iâve absorbed the habit of using a <$list>
widget â often with limit[1]
in its filter â to accomplish display of conditional elements, and later I may refactor once I see the power of a template or cascade approach. Itâs kinda cool, in an occamâs razor way. Like learning how to build out a whole circuit board with NAND gates.
Still, nearly every newbie here at the forum has a bit of a struggle with why <$list>
counts as the right tool for the task they come here to ask about â given that what they want seems (to them) nothing like a âlistâ!
Meanwhile, the cascade mechanism is a tremendously powerful way of handling conditional matters, but itâs unwieldy for most ordinary tasks.
(Erring on the side of keeping certain complexities âin-tiddlerâ is understandably tempting for ordinary users who want most tiddler names to be nodes of meaning directly relevant to their project, and who want their âRecentsâ tab to track that recognizable project content, not little utility tiddlers that do work behind the scenes.)
I think the new <% if %>
affordances (even if <% elseif %>
feels a bit roundabout) hits a sweetspot of intelligibility (as well as preserving backward compatibility).
After all, displaying something conditionally is the kind of task that pretty much any beginner will need to do, and even for me, I suspect this new shortcut tool will make my future self less confused (and/or will free up time otherwise lost to writing out comments to my future self about whatâs going on with each nested level of <$list>
here).
Since the <% if %>
toolset offers a cognitive shortcut, itâs optional whether to use it, right?
Thereâs often a tradeoff between encouraging âoptimalâ habits and letting people rely on gaurdrails, training wheels, etc. I think itâs reasonable for most US-market keyboard manufacturers to put qwerty labels on the keys, even though you really shouldnât look at your hands while you type â and even though nobody should be using Qwerty anyway. ) At the risk of supporting bad habits for those who never get it about touch-typing (let alone what makes a keyboard layout a choiceworthy one), itâs still mighty helpful to those who havenât yet streamlined their skills, and who might have more urgent projects at hand.