206 karma · joined August 22, 2016
> Only a limited set of frequencies is used in music. All these frequencies (that exist in music) can be played by a piano.
I do welcome the improvements to doc and APIs this brings though!
It doesn't work for everything of course but it's a nice way to bug-for-bug compatible rewrites.
It's much cleaner than monkey patching, and it will more likely detect if an update conflicts with your patching.
I've used it by packaging everything through nix, but that can be cumbersome.
Of course that doesn't solve the overhead of finding the modules, but that could be optimized without lazy import, for example by having a way to pre-compute the module locations at install time.
I haven't found an excuse to really use it though!
For sure there is a lack of proper "code as data" constructs in Tcl, like you would find in Lisp.
I also had further fun with wrapping "proc" by implementing a "pyproc" which called out to Python while looking like a normal Tcl proc.
Another pain point with XML is the lack of inline schema, so the languages around like XPath have to work with arbitrary structures unlike say JSON where you at least have basic primitives like map/dict, numbers, bool, etc