As reflected on elsewhere, tiddler philosophy 
<http://tiddlywiki.com/#Philosophy%20of%20Tiddlers> is pretty close to 
"encapsulation philosophy" in programming (...as far as I can tell. I'm not 
a coder.) 

For TiddlyWiki X (a generic term introduced by Jeremy for a potential 
future remake of TW) it would be neat to embrace this as a paradigm:

Tiddlers could "mirror" a general code function, e.g with the *title of the 
tiddler* serving as the *function name*, a predefined *parameters field*, 
using *field names+values* as *variable declarations*, etc. One function = 
one tiddler. (...embracing another, perhaps more aesthetic, philosophy of 
"everything is a tiddler")

A user friendly UI for building complex multi-function code could consist 
of drag'n dropping tiddlers into a flow sequence perhaps comparable to 
Scratch <https://scratch.mit.edu/> programming or Google Blockly 
<https://developers.google.com/blockly/>. (BTW, the next version of the 
former will be based on the latter.)

Also widgets could have this physical manifestation for a GUI.

Perhaps two tiers for editing: a GUI mode and a text based mode.

The idea is worth considering; it should definitely increase* re-usability* 
for code. The tiddler-as-function-shell format would also encourage TW 
philosophy... or, if this was the only option for creating functions 
/macros, then it would simply force users into understanding tiddler 
philosophy. Currently, I find myself making huge monolithic tiddlers with 
complex macros because separate macro-tiddlers force re-rendering which 
makes in-TW dev hard. Separate tids currently also makes you loose overview.

<:-)


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/dff8f543-e7f2-4b6f-9154-6f2d7af28799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to