Daily Thought - 2024-09-12
Hey, I'm Hanno! These are my daily thoughts on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!
This thought was published before Crosscut was called Crosscut! If it refers to "Caterpillar", that is the old name, just so you know.
Here's another thing about storing a pre-compiled representation of your code in a structured database: You don't have to retain any formatting information from the original plain text representation, which means that all formatting can be automatic.
In language ecosystems where automatic formatting is widespread, it is typically well-regarded. I myself, after being a critic for a time, have come around to see its advantages and would not want to do without it. But a code database goes one step further: There is only auto-formatting. You can't avoid it, unless you somehow edit the database directly.
A side effect of this approach, is that formatting only happens locally, on demand. Everybody could work with the same code, using their own preferred formatting rules, and it would just work. We could even have completely different syntaxes for the same language, if we wanted.
Hey, you! Want to subscribe to my daily thoughts? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email whenever I post a new one.