On Wednesday, March 16, 2022 at 3:11:43 PM UTC-3 Riz wrote:
> Hi cj.v, > > > Man, I wish you had started a separate discussion thread (with a link > back to this one and a link from this one) related to that for a full > discussion "over there" instead of intertwingling that with the intent of > the original post. > > Sorry about that. It was unintentional, I hope you consider that. > Hey, no worries, no need to apologize. I've been told before, not in these words: that's the way forums work, and I should get used to it. The way forums work usually cognitively sucks for me (I need clear paths/organization), but it is what it is, the forums are what they are. All I can do is ask for some understanding and forgiveness if an when I get irritated by too many people and too many discussion off-shoots and/or run away from a thread of discussion. Much appreciated ! > > > > What benefit would we get replacing that simple code with javascript? > > It was a tangential thought. I assume you are showcasing a single-response > API. If we parse the search parameters into a widget and respond to the > query in a `switch-case` tree, the code block could be more manageable, > less fragmented. Calling entirely different branches from a single point in > a much less verbose way, DRY too. > > I doubt I'm showcasing a single-response APO because I have no idea what that it is. I don't need to parse any more than one parameter, so list widget is good enough for the job. The final solution I'm building will involve processing handled by BASIC. Stuff that I'd rather not do in TiddlyWiki syntax. > Again, in contrast to your take on JavaScript - mine goes the other way > around. Prefer JS over TW WikiText. More chances of finding a solution in > internet if I run into an issue, and the knowledge I acquire during the > process will come handy outside the context of TW. > I'm a big believer in not being dogmatic about strict TiddlyWiki syntax for everything. Use what makes most sense, whether it be leveraging what you know well already (because it is quick, more logical, whatever), or veering away from what you know just to learn something new/interesting (even if it isn't the "best" way and/or just for fun and/or have some time to kill.) > > > Sincerely, > Riz > Cheers, best regards, rock'n roll ! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/45c7a8e8-d973-491d-98d5-664294bbe8f5n%40googlegroups.com.

