Version 10 of Everything's a ...

Updated 2003-03-28 16:30:14

(or: Radical Minimalism in Tcl)

CMCc thinks there are a lot of radical minimalists among Tclers, and that's a good thing (although one might ask why there needs to be more than one minimalist, or more than one kind of minimalism :)


RS: First of all, I have neither invented procs, nor am I the only one who writes them. And I'm still discovering in how many situation we don't even have to write a proc, when an interp alias can do it in a lightweight way... For my thoughts on code minimalism ("Tcl'ing is fun. Less Tcl'ing can be more fun"), see KISS.


Some more Everything's a ...

  • CMCc: everything's an array

I'm considering a mapping from array to directory, such that get/set are read/write files, array names is glob, and so on. This is the dual of vfs's everything's a file system

This would be quite nice for persisting config arrays, and reasonably efficient by combination with Everything's a file system

(AK: The OS [Plan 9] treats practically every resource a process can ask for as a filesystem or a file in such.)