|
|
|
|
|
by some-mthfka
1245 days ago
|
|
> Flexibility interacts poorly with composability. > Flexibility usually interacts poorly with performance as well. I disagree fundamentally. I believe there's such a thing as the flexibility of specialization. In fact: the reason why everything is so slow is because we don't have /enough/ flexibility in our systems. https://project-mage.org/on-flexibility > It's interesting that you're starting with the user interface instead of the sufficiently smart compiler. I think it's because I care more about the applications than anything else. Yes, they require the platform, but my motivation is to get something I can use, not just to build a tool. > That would be a lot to build in five years. Good luck and happy hacking. Thanks : ) |
|
I'm trying to imagine my existing Notes as a tree of objects instead of text parsed into an ad-hoc tree. Ok, that sounds good. I could imagine a leaf node being a "blurb", which itself could be something easy and familiar like a string. I could imagine it sitting beside a table, and nested under a bullet point.
I can imagine my up/right/left/down keybindings getting smarter, as I move from "left" or "outside" of a table then it might highlight itself, indicating that I'm selecting it like I would select any heading and can drill down into it.
I can imagine instead navigating up, to the text, and there being a seamless transition so that I'm editing that text just like I normally would in Emacs.
I can imagine navigating "out" and into the tree structure of the bullet points / headings. I already use packages to easily navigate my headings, and so I like the idea.
But when I read this:
> See, even words have structure. Are words objects? We wouldn't have a word for them if they weren't significant somehow. And that's how I would want to analyze and work with them: as words. For the plain text editor, a word is just a cluster of characters somewhere in a string, and there's a whole pile of mess built on top of that string to convince you otherwise.
and this:
> Your word was supposed to be an object that carries information about itself.
I start to worry about performance. Is this something like the old Flyweight Pattern from GoF? Is this level of granularity no longer expensive?